michaeldebo
michaeldebo

Reputation: 3225

upload dSYMs to Firebase using upload-symbols

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.

Upvotes: 6

Views: 17913

Answers (3)

Emre Gürses
Emre Gürses

Reputation: 2180

Note: The Fabric SDK is now deprecated and will continue reporting your app's crashes until November 15, 2020. On this date, the Fabric SDK and old versions of the Firebase Crashlytics SDK will stop sending crashes for your app. To continue getting crash reports in the Firebase console, make sure you upgrade to the Firebase Crashlytics SDK versions 4.0.0+ for iOS and 6.15.0+ for Unity.

Summary

  1. Copy your pod FirebaseCrashlytics path(1.path)
  2. Copy your GoogleService-Info.plist path(2.path)
  3. Find dsYMs folder in your xcode project(You can find detail info below)
  4. copy dsYMs the file path(3.path)

<1.path>/upload-symbols -gsp <2.path>/GoogleService-Info.plist -p ios <3.path>/dSYMs

/Users/Mobile/IOS/FireApp/Pods/FirebaseCrashlytics/upload-symbols -gsp /Users/Mobile/IOS/FireApp/Firebase/Production/GoogleService-Info.plist -p ios /Users/Desktop/dSYMs

  1. Run it in terminal

illustration of above paths


Describe Step by step

After using FirebaseCrashlytics instead of Fabric Crashlytics, we met an issue from firebaseConsole "Upload missing required dSYMs".

To solve this issue, you should use console/terminal prompt.

Please find below path to complete command clearly.

  1. find upload-symbols command line tool path. This command line tool inside your firebaseSDK file. if you use Pods, go to pods directory. enter image description here
  2. find GoogleService-Info.plist path.(this file added before your project root when installing firebase SDK) . To Find search on your xode project enter image description here
  3. find dSYM_directory -name "*.dSYM"(Xcode-> Window -> Orginizer -> Archive ->(Right Click On appropriate archive file -> Show in Finder -> Show Packege Content) enter image description here

(1.path)/upload-symbols -gsp (2.path)/GoogleService-Info.plist -p ios (3.path)/dSYMs

look at the below

/path/to/pods/directory/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios /path/to/dSYMs

Command is ready. Please run on your terminal. enter image description here

Upvotes: 12

krishnan muthiah pillai
krishnan muthiah pillai

Reputation: 2741

  1. Copy your pod FirebaseCrashlytics path
  2. Copy your GoogleService-Info.plist path
  3. Goto organizer select current build select show in finder, right-click show package content and copy the dsYMs folder and paste it in your desktop.
  4. Zip the dsYMs folder and copy the file path.
  5. Run it in terminal

Example

<---FirebaseCrashlytics path--->/upload-symbols -gsp <---GoogleService-Info.plist path----> -p ios <---dSYMs.zip path--->

Upvotes: 3

Kasım &#214;zdemir
Kasım &#214;zdemir

Reputation: 5644

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.

Upvotes: 3

Related Questions