Skip to content

Commit 9cd4d98

Browse files
authored
Add Crashlytics to Carthage documentation (#4651)
1 parent ecb26bf commit 9cd4d98

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

Carthage.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseABTestingBinary.j
3333
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAdMobBinary.json"
3434
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
3535
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
36+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json"
3637
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json"
3738
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
3839
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
@@ -62,7 +63,8 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.jso
6263
- Copy the contents into the top level of your Xcode project and make sure
6364
they're added to the right build target(s).
6465
- Add `$(OTHER_LDFLAGS) -ObjC` flag to "Other Linker Flags" in "Build Settings".
65-
- 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))
66+
- Make sure that the build target(s) includes your project's `GoogleService-Info.plist`
67+
([how to download config file](https://support.google.com/firebase/answer/7015592))
6668
- [Delete Firebase.framework from the Link Binary With Libraries Build Phase](https://github.com/firebase/firebase-ios-sdk/issues/911#issuecomment-372455235).
6769
- If you're including a Firebase component that has resources, copy its bundles
6870
into the Xcode project and make sure they're added to the
@@ -74,10 +76,19 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.jso
7476
- For FirebaseMLVisionTextModel:
7577
- ./Carthage/Build/iOS/TextDetector.framework/GoogleMVTextDetectorResources.bundle
7678

77-
- Please note that you shouldn't add any of the Firebase frameworks to the Carthage build phase (`copy-frameworks`).
78-
The frameworks contain static libraries that are linked at build time.
79+
- Please note that you shouldn't add any of the Firebase frameworks to the Carthage build phase
80+
(`copy-frameworks`). The frameworks contain static libraries that are linked at build time.
7981

80-
- Some additional libraries/frameworks may be needed depending on which Firebase frameworks you use, for example: libc++.tbd, sqlite3.tbd, StoreKit.framework, etc. For more information, [go here](https://github.com/firebase/firebase-ios-sdk/issues/9#issuecomment-387947163).
82+
- Some additional libraries/frameworks may be needed depending on which Firebase frameworks you
83+
use, for example: libc++.tbd, sqlite3.tbd, StoreKit.framework, etc. For more information,
84+
[go here](https://github.com/firebase/firebase-ios-sdk/issues/9#issuecomment-387947163).
85+
86+
- For Crashlytics:
87+
- To automatically upload your app's symbols so your app's crashes are symbolicated, download
88+
[upload-symbols](https://github.com/firebase/firebase-ios-sdk/raw/master/Crashlytics/upload-symbols)
89+
and [run](https://github.com/firebase/firebase-ios-sdk/raw/master/Crashlytics/run).
90+
Then follow the [Crashlytics documentation](https://firebase.google.com/docs/crashlytics/get-started-new-sdk?platform=ios)
91+
to add a new run script phase in your XCode project.
8192

8293
## Versioning
8394

0 commit comments

Comments
 (0)