Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 396
michaeldebo Avatar asked Apr 03 '20 14:04

michaeldebo


People also ask

Why can’t I upload my dSYM files to Firebase?

These dSYM files are uploaded and processed automatically by the firebase. But in some cases, due to the settings in the Xcode Project, this isn’t possible and uploading fails. The first and foremost thing to check in this condition is the XCode itself.

How do I find the upload symbol in xode Firebase?

find upload-symbols command line tool path. This command line tool inside your firebaseSDK file. if you use Pods, go to pods directory. find GoogleService-Info.plist path. (this file added before your project root when installing firebase SDK) . To Find search on your xode project

How to get crash report on Firebase?

Simple Steps Follow 1 Go to archive and right click on the latest version in which you want to get crash report on firebase 2 see the dsyms folder 3 create the Zip file of dsyms folder 4 finally upload that zip file into the firebase console Show activity on this post. The accepted answer is perfect and what I also followed.

How to manually upload dSYM files in Crashlytics?

Crashlytics provides back up upload-symbols script which can be used to manually upload the dSYM files. To use the script, developers can include the following script provided by Crashlytics team in Build Process:


3 Answers

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

like image 90
Emre Gürses Avatar answered Oct 19 '22 19:10

Emre Gürses


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.

like image 42
Kasım Özdemir Avatar answered Oct 19 '22 18:10

Kasım Özdemir


  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--->

like image 2
krishnan Avatar answered Oct 19 '22 19:10

krishnan