Update installation.ios.md

This commit is contained in:
Michael Diarmid 2017-03-23 13:40:18 +00:00 committed by GitHub
parent c09ee68269
commit 8c340838bc
1 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# iOS Installation # iOS Installation
Setup the Firebase ios frameworks first; check out the relevant Firebase docs [here](https://firebase.google.com/docs/ios/setup#frameworks). Setup the Firebase ios frameworks first; check out the relevant Firebase docs [here](https://firebase.google.com/docs/ios/setup#frameworks) or see section `d` below.
## cocoapods ## cocoapods
@ -50,17 +50,17 @@ Since we're dependent upon cocoapods (or at least the Firebase libraries being a
Using cocoapods is the easiest way to get started with this linking. Add or update a `Podfile` at `ios/Podfile` in your app with the following: Using cocoapods is the easiest way to get started with this linking. Add or update a `Podfile` at `ios/Podfile` in your app with the following:
```ruby ```ruby
source 'https://github.com/CocoaPods/Specs.git' # Required by RNFirebase
[ pod 'Firebase/Auth'
'Firebase/Core', pod 'Firebase/Analytics'
'Firebase/Auth', pod 'Firebase/AppIndexing'
'Firebase/Storage', pod 'Firebase/Core'
'Firebase/Database', pod 'Firebase/Crash'
'Firebase/RemoteConfig', pod 'Firebase/Database'
'Firebase/Messaging' pod 'Firebase/DynamicLinks'
].each do |lib| pod 'Firebase/Messaging'
pod lib pod 'Firebase/RemoteConfig'
end pod 'Firebase/Storage'
``` ```
Then you can run `(cd ios && pod install)` to get the pods opened. If you do use this route, remember to use the `.xcworkspace` file. Then you can run `(cd ios && pod install)` to get the pods opened. If you do use this route, remember to use the `.xcworkspace` file.