This Cocoa Touch Framework is an easy way to add a Firebase SDK to your project, if for some reason you can't use CocoaPods, or a manual installation.
-
Open the folder with the framework project, copy from DEBUG or APPSTORE folder, and add it to your project in Xcode.
-
Having that done, select your parent project and link these binaries to it: add FirebaseCocoaTouchFramework.framework from Products folder to embedded binaries.
-
Download GoogleService-Info.plist from the Firebase console and add it to the project root.
-
Add custom URL schemes to your Xcode project: Open your project configuration: double-click the project name in the left tree view. Select your app from the TARGETS section, then select the Info tab, and expand the URL Types section. Click the + button, and add a URL for your reversed client ID. To find this value, open the GoogleService-Info.plist configuration file, and look for the REVERSED_CLIENT_ID key. Copy the value of the key, and paste it into the URL. Schemes box on the configuration page. Leave the other fields blank.
-
Add the necessary methods from Firebase SDK to the FirebaseService class
- Open FirebaseCocoaTouchFramework.xcworkspace
- Build Cmd+B with target FirebaseCocoaTouchFramework-Universal and FIR-AppStore, to update framework in DEBUG and APPSTORE folder.
- Disable bitcode in project settings
- Try to run on a real device