From 1bc9c70fe18c00c15e87687909212e90ffef511e Mon Sep 17 00:00:00 2001 From: Michael Diarmid Date: Sun, 8 Oct 2017 18:24:34 +0100 Subject: [PATCH 1/2] Update installation-ios.md --- docs/installation-ios.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/installation-ios.md b/docs/installation-ios.md index 3c3a702c..27e12520 100644 --- a/docs/installation-ios.md +++ b/docs/installation-ios.md @@ -9,6 +9,15 @@ Run `react-native link react-native-firebase` ## 2) Setup GoogleService-Info.plist Setup the `GoogleService-Info.plist` file by following the instructions and adding it to the root of your project at `ios/[YOUR APP NAME]/GoogleService-Info.plist` [here](https://firebase.google.com/docs/ios/setup#add_firebase_to_your_app). +Adding the file into the directory doesn't automatically add the file to the iOS project. You need to then manually add it by doing the following: + +  - 2.1. Open `/ios/'project name'.xcworkspace` file via XCode +    - 2.1.1. If you've not got a `.xcworkspace` file yet then you'll need to come back to these steps after setting up your pods + pod install (step 3 on this page) + - 2.2. Right click on your project + - 2.3. Click "Add files to 'project name'" + - 2.4. Select the .plist file you copied into your project + - 2.5. Click OK + ### 2.1) Initialisation Make sure you've added the following to the top of your `ios/[YOUR APP NAME]]/AppDelegate.m` file: From bc92ace8edef9d5ae4f9e5d6af5eccb8cfca4443 Mon Sep 17 00:00:00 2001 From: Michael Diarmid Date: Sun, 8 Oct 2017 18:25:58 +0100 Subject: [PATCH 2/2] Update installation-ios.md --- docs/installation-ios.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation-ios.md b/docs/installation-ios.md index 27e12520..d98bab6f 100644 --- a/docs/installation-ios.md +++ b/docs/installation-ios.md @@ -11,8 +11,8 @@ Setup the `GoogleService-Info.plist` file by following the instructions and addi Adding the file into the directory doesn't automatically add the file to the iOS project. You need to then manually add it by doing the following: -  - 2.1. Open `/ios/'project name'.xcworkspace` file via XCode -    - 2.1.1. If you've not got a `.xcworkspace` file yet then you'll need to come back to these steps after setting up your pods + pod install (step 3 on this page) + - 2.1. Open `/ios/'project name'.xcworkspace` file via XCode + - 2.1.1. If you've not got a `.xcworkspace` file yet then you'll need to come back to these steps after setting up your pods + pod install (step 3 on this page) - 2.2. Right click on your project - 2.3. Click "Add files to 'project name'" - 2.4. Select the .plist file you copied into your project