use_frameworks! :linkage => :static
Link Firebase dependencies statically or dynamically
Beginning with CocoaPods 1.9.0 and Firebase 7, you can choose whether your Firebase dependencies are built as static or dynamic frameworks. We recommend using static frameworks unless you require certain dynamic library behaviors. Note that libraries developed outside of GitHub can only be linked statically even with CocoaPods 1.9.0 and later.