Upgrade to the Firebase Crashlytics iOS SDK objective-c, @import FirebaseCrashlytics not found

Viewed 1784

I am converting Fabric iOS SDK to Firebase Crashlytics iOS SDK I follow below firebase google docs link https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=ios

I already Installed pod according to link

pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'

According to docs when I try to import @import FirebaseCrashlytics . I get an error like @import FirebaseCrashlytics module not found.

I did not understand below code in firebase google docs link

${PODS_ROOT}/FirebaseCrashlytics/run
/path/to/pods/directory/FirebaseCrashlytics/upload-symbols.

Let me correct if I am wrong anywhere

1 Answers

You have to run the script using Mac terminal by using the below command for dSYM upload.

1). project/ios% pod install

2). cd ..

3). project% /path/to/pods/directory/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios /path/to/downloaded dSYMs

Related