Installing FirebaseUI for iOS
FirebaseUI supports iOS 8.0+. We recommend using CocoaPods, add
the following to your
pod 'FirebaseUI', '~> 5.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 FirebaseUI Firestore features pod 'FirebaseUI/Firestore', '~> 5.0' # Only pull in FirebaseUI Database features pod 'FirebaseUI/Database', '~> 5.0' # Only pull in FirebaseUI Storage features pod 'FirebaseUI/Storage', '~> 5.0' # Only pull in FirebaseUI Auth features pod 'FirebaseUI/Auth', '~> 5.0' # Only pull in Facebook login features pod 'FirebaseUI/Facebook', '~> 5.0' # Only pull in Google login features pod 'FirebaseUI/Google', '~> 5.0' # Only pull in Twitter login features pod 'FirebaseUI/Twitter', '~> 5.0' # Only pull in Phone Auth login features pod 'FirebaseUI/Phone', '~> 5.0'
If you're including FirebaseUI in a Swift project, make sure you also have:
platform :ios, '9.0' use_frameworks!
Otherwise, you can download the latest version of the FirebaseUI frameworks from the releases page or include the FirebaseUI Xcode project from this repo in your project. You also need to add the Firebase framework to your project.