问题
Trying and failing to upload dSYMS file to Firebase ever since they took away the simple and straight forward way of doing it.
I entered this into the terminal: /Users/michael****/Desktop/Revibe/revibe-ios/Pods/FirebaseCrashlytics/upload-symbols -gsp /Users/michael****/Desktop/Revibe/revibe-ios/Revibe/Production-GoogleService-Info.plist -p ios /Users/michael****/Desktop/appDsyms
I get this error: -bash: /Users/michael*****/Desktop/Revibe/revibe-ios/Pods/FirebaseCrashlytics/upload-symbols: No such file or directory
Firebase was saying to update my Crashlytics to 4.0.0 or higher but when I update the cocoapod, it only goes up to version 1.9.1. Similarly it says to update Fabric to 1.10.0 or higher but the highest I can get mine to go is 1.9.1.
How do I fix my this error so I can read crash reports again?
Thanks for any help.
回答1:
It should be like this:
/Pods/Fabric/upload-symbols -gsp
not
/Pods/FirebaseCrashlytics/upload-symbols -gsp
Note :
If you have upgraded to the Firebase Crashlytics SDK (version 4.0.0 or higher), locate the tool in the “FirebaseCrashlytics” folder where you installed the SDK. For CocoaPods, this will be in “Pods/FirebaseCrashlytics”.
Otherwise to make sure you have our new uploader tool, please upgrade your Fabric SDK to version 1.10.0 or higher. Locate the tool in the “Pods/Fabric” folder of your Xcode project directory, or the Fabric.framework if you installed via zip download.
来源:https://stackoverflow.com/questions/61013943/upload-dsyms-to-firebase-using-upload-symbols