Firebase Crashlytics: Upload missing dSYMs to see crashes from 1 versions.(iOS)

前端 未结 18 2187
名媛妹妹
名媛妹妹 2020-12-12 17:53

Error Message: Upload missing dSYMs to see crashes from 1 versions. Versions affected: 1.0 (1)

I am trying to implement Firebase Crashlytic

相关标签:
18条回答
  • 2020-12-12 18:27

    I have created Medium Story about dSYMs upload.

    Stap by step how to upload with the terminal

    Medium Link: https://medium.com/@petarlemajic/firebase-dsyms-upload-1cf432c475f7 I will be happy if this helps somebody. Cheers!

    0 讨论(0)
  • 2020-12-12 18:30

    In my case, I have done the following things and it worked:

    1. Select 'Run script only when installing' in Build Phases -> Run Script (Shell = ${PODS_ROOT}/Fabric/run)

    2. Build the app

    3. Now you can find the .dsym file in the path, /Library/Developer/Xcode/DerivedData/XXX-arctjcalvfslmbakanpyivuuxjmm/Build/Products/Release-iphoneos

    4. Upload the zipped .dsym file to firebase console

    5. After few minutes, you can find the crash reports

    NOTE:

    • I have disabled bitcode while exporting ipa file (Adhoc or Appstore)
    • If you need ipa with bitcode enabled, then download dsym file from iTunes connect
    0 讨论(0)
  • 2020-12-12 18:30

    If you are using the dynamic library is your project using cocoa pods or any other tool then Firebase needs Duplicate Symbol files to locate the faulty code in your library. If you want to read more about dSysms read this : https://stackoverflow.com/questions/3656391/whats-the-dsym-and-how-to-use-it-ios-sdk

    To find dsysm folder, you first need the .ipa file on which crash was reported on your firebase. In your case, I suppose you are running on the simulator for testing. To get IPA follow these steps: How to create ipa in xcode 6 without Apple Developer account?

    When you reach .iPA then right click and select show package contents, or follow this link: iphone: Where the .dSYM file is located in crash report

    There you will find system folder. Upload this folder to firebase crashalytics.

    Hope this helps!

    0 讨论(0)
  • 2020-12-12 18:30

    According to firebase documents, instead of uploading dsym You can also provide your app's built Info.plist location to the build phase's Input Files field:

    $(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)

    They fixed bug and document updated

    0 讨论(0)
  • Only and simple way to upload DSYMS files to Firebase Crashlytics. (June 1 - 2020)

    1. Download appDsyms archive from App Store

      1.1 Login: https://appstoreconnect.apple.com

      1.2 Go to: MyApps -> Choose your app -> Activity (top left) -> Select version you want to get crashes -> Includes Symbols: press -> Download dSYM.

    2. Open terminal, drag and drop 3 files on terminal on this order:

      2.1 drag an drop: "upload-symbols" which can be found in /project/Pods/FirebaseCrashlytics/upload-symbols

      2.2 write " -gsp "

      2.3 drag an drop: "GoogleService-Info.plist" which can be found in /project/GoogleService-Info.plist

      2.4 write " -p ios "

      2.5 drag an drop: "appDsyms" folder which usually is in Download folder /Users/username/Downloads/appDsyms

      2.6 Press Enter

    In terminal the complete command should include -gsp and -p ios, full command looks like this: 2.1 -gsp 2.3 -p ios 2.5

    /project/Pods/FirebaseCrashlytics/upload-symbols -gsp /project/GoogleService-Info.plist -p ios /Users/username/Downloads/appDsyms
    

    All Set, wait for upload in terminal!

    Terminal example:

    One way how to get file or folder location with drag and drop to terminal:

    0 讨论(0)
  • 2020-12-12 18:32
    Pods/Fabric/upload-symbols -gsp APP/Resources/GoogleService_Info.plist -p ios /Users/ME/Desktop/APP.app.dSYM
    

    This one I used recently to upload my dsym to fabric. I was using fabric with crashlytics SDK not firebase one(which is currently in beta). Just replace your app name for 'APP' and your DSYM path instead of '/Users/ME/Desktop/APP.app.dSYM.

    0 讨论(0)
提交回复
热议问题