Installing FirebaseUI for iOS
FirebaseUI supports iOS 10.0+ and Xcode 11+. We recommend using CocoaPods, add
the following to your Podfile
:
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'
# Only pull in Database features
pod 'FirebaseUI/Database'
# Only pull in Storage features
pod 'FirebaseUI/Storage'
# Only pull in Auth features
pod 'FirebaseUI/Auth'
# Only pull in Facebook login features
pod 'FirebaseUI/Facebook'
# Only pull in Google login features
pod 'FirebaseUI/Google'
# Only pull in Phone Auth login features
pod 'FirebaseUI/Phone'
If you're including FirebaseUI in a Swift project, make sure you also have:
platform :ios, '13.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.