Starting with the 6.31.0 release, Firebase supports installation via Swift Package Manager in Beta status.
-ObjC linker option.If you've previously used CocoaPods, remove them from the project with pod deintegrate.
Install Firebase via Swift Package Manager:
Select the Firebase GitHub repository - https://github.com/firebase/firebase-ios-sdk.git:
Select the beta branch.
Note: Starting with the 6.31.0 release, the versions are specified in a format like 6.32-spm-beta. We won't support standard repository versioning until later in the beta or with general availability of the SPM distribution.
Choose the Firebase products that you want installed in your app.
If you've installed FirebaseAnalytics, Add the -ObjC option to Other Linker Flags
in the Build Settings tab.
Please provide any feedback via a GitHub Issue.
See current open Swift Package Manager issues here.




