0

I am running the latest Crashlytics pod on my iOS project and am no longer using Fabric. Since Firebase removed the option to upload a dSYM file I am stuck with figuring out how to upload my dSYM file manually.

My setup in Xcode is as followed:

  • Installed Crashlytics via Cocoapods 'Firebase/Crashlytics'
  • Under Target > Build Settings > Debug Information Format - I have set the options to DWARF with dSYM File
  • Under Build Phases > Run Script - I have added "${PODS_ROOT}/FirebaseCrashlytics/run"
    • Under the Input File Lists in Run Script - I have also added $(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)

My attempt to manually upload the file:

  • Downloaded the dSYM from Apple Connect (Bitcode is enabled on my project)
  • Open terminal and added the following (recommended by Firebase): /path/to/pods/directory/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios /path/to/dSYMs

Issue:

My path I've set in terminal:

  • /Users/myhomefolder/Desktop/MyFolder/MyAppFolder/Pods/FirebaseCrashlytics/upload-symbols -gsp /Users/myhomefolder/Desktop/MyFolder/MyAppFolder/GoogleService-Info.plist -p ios /Users/myhomefolder/Desktop/appDsyms

When I try to run the terminal with the path above, I get an error: /Desktop/MyFolder/MyAppFolder/Pods/FirebaseCrashlytics/upload-symbols: No such file or directory

I know my path to FirebaseCrashlytics is correct but I am not certain as to why I am unable to reach the upload-symbols path.

Is there is something I am missing?


Tried following guide on Firebase:

Tried solutions presented through these posts:

1 Answers1

0

use these:

  • path of upload-symbols => /Users/yourhomefolder/Desktop/MyFolder/MyAppFolder/Pods/FirebaseCrashlytics/upload-symbols
  • path of plist => /Users/yourhomefolder/Desktop/MyFolder/MyAppFolder/GoogleService-Info.plist
  • /path/to/dSYMs : find path of dSYMs by following this answer => https://stackoverflow.com/a/11880813/8956604

/path/to/GoogleService-Info.plist : No such file or directory

/path/to/dSYMs : No such file or directory

Kasım Özdemir
  • 5,414
  • 3
  • 18
  • 35