Skip to content

Commit 8602a5a

Browse files
committed
Add yet more steps for enabling Crashlytics in Xcode
1 parent 3969e17 commit 8602a5a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/pn-setup-guide/configure-hemlock-app.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,17 @@ This guide is for the mobile app developer.
2020
* Click "+ Capability" and add the "Background Modes" capability, then select "Remote notifications"
2121
* For cleanliness, move the newly created .entitlements file (drag it in Xcode to Source/pines_app/)
2222
* Close Xcode, then edit the project.pbxproj to fix the relative path `CODE_SIGN_ENTITLEMENTS = Source/pines_app/PINES.entitlements;`
23-
* Configure Xcode to produce and upload dSYMs for Crashlytics per the [Firebase instructions](https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports?platform=ios)
23+
* Define `USE_FCM` (or `USE_FA`) in the Build Settings of the project
24+
* Under "Build Settings", find "Swift Compiler - Custom Flags"
25+
* Under "Active Compilation Conditions", add "USE_FCM" for Any Architecture | Any SDK
26+
* Configure for DWARF with dSYM files
27+
* Under "Build Settings", find "Build Options"
28+
* For "Debug Information Format", choose "DWARF with dSYM files"
29+
* Add Firebase packages to project
30+
* Under "General", find "Frameworks, Libraries, and Embedded Content"
31+
* Click "+" and add projects
32+
- FirebaseAnalyticsWithoutAdIdSupport
33+
- FirebaseCrashlytics
34+
* NB: If you don't see the package you may need to quick Xcode and maybe delete the directory `~/Library/Developer/Xcode/DerivedData`
35+
* Configure Xcode to produce and upload dSYMs for Crashlytics per the [Firebase instructions](https://firebase.google.com/docs/crashlytics/get-started?platform=ios#set-up-dsym-uploading)
2436
* Optionally enable the Firebase Console Debug View by adding `-FIRDebugEnabled` and `-FIRDebugDisabled` to your build scheme per the [Crashlytics >> Test your implementation](https://firebase.google.com/docs/crashlytics/test-implementation?platform=ios)

0 commit comments

Comments
 (0)