简体   繁体   中英

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM