Installing FirebaseUI for iOS
FirebaseUI supports iOS 8.0+. We recommend using CocoaPods, add
the following to your
pod 'FirebaseUI', '~> 8.0' # Pull in all Firebase UI features
If you don't want to use all of FirebaseUI, there are multiple subspecs which can selectively install subsets of the full feature set:
# Only pull in Firestore features pod 'FirebaseUI/Firestore', '~> 8.0' # Only pull in Database features pod 'FirebaseUI/Database', '~> 8.0' # Only pull in Storage features pod 'FirebaseUI/Storage', '~> 8.0' # Only pull in Auth features pod 'FirebaseUI/Auth', '~> 8.0' # Only pull in Facebook login features pod 'FirebaseUI/Facebook', '~> 8.0' # Only pull in Google login features pod 'FirebaseUI/Google', '~> 8.0' # Only pull in Phone Auth login features pod 'FirebaseUI/Phone', '~> 8.0'
If you're including FirebaseUI in a Swift project, make sure you also have:
platform :ios, '9.0' use_frameworks!
Otherwise, you can include the FirebaseUI Xcode project from this repo in your project. You also need to add the Firebase framework to your project.