How to use Firebase Crashlytics in macOS app
Issue #585
New Firebase Crashlytics
Follow the new Firebase Crashlytics guide Get started with Firebase Crashlytics using the Firebase Crashlytics SDK
CocoaPods
Specify FirebaseCore
for community managed macOS version of Firebase
1 | platform :osx, '10.13' |
Signing and capabilities
Under Hardware runtime, check Disable library validation
Under App sandbox, enable Outgoing connections (Client)
Run script
Add a new run script build phrase to the last
1 | "${PODS_ROOT}/FirebaseCrashlytics/run" |
In that build phase, under Input Files, specify dsym and info plist file for dsym to be recognized
1 | $(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH) |
AppDelegate
1 | import FirebaseCore |