Skip to content

Commit 5a15cf9

Browse files
clacladevpaulb777
authored andcommitted
Updated the Carthage installation instructions (#2012)
1 parent a514bd9 commit 5a15cf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Carthage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ more details and additional installation methods.
2828

2929
- Create a Cartfile with a **subset** of the following components - choosing the
3030
Firebase components that you want to include in your app. Note that
31-
**FirebaseAnalytics** must always be included.
31+
**FirebaseAnalyticsBinary** must always be included.
3232
```
3333
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseABTestingBinary.json"
3434
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAdMobBinary.json"
@@ -57,8 +57,8 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.jso
5757
- Use Finder to open `Carthage/Build/iOS`.
5858
- Copy the contents into the top level of your Xcode project and make sure
5959
they're added to the right build target(s).
60-
- Add the -ObjC flag to "Other Linker Flags".
61-
- Make sure that the build target(s) includes your project's `GoogleService-Info.plist`.
60+
- Add `$(OTHER_LDFLAGS) -ObjC` flag to "Other Linker Flags" in "Build Settings".
61+
- Make sure that the build target(s) includes your project's `GoogleService-Info.plist` ([how to download config file](https://support.google.com/firebase/answer/7015592))
6262
- [Delete Firebase.framework from the Link Binary With Libraries Build Phase](https://github.com/firebase/firebase-ios-sdk/issues/911#issuecomment-372455235).
6363
- If you're including a Firebase component that has resources, copy its bundles
6464
into the Xcode project and make sure they're added to the

0 commit comments

Comments
 (0)