简体   繁体   中英

Splunk Mint: Failed to archive dSYMs for "MyApp" to "/tmp/splunk-mint-dsyms"

How to fix this error?

Splunk Mint: Archiving "MyApp" to "/tmp/splunk-mint-dsyms/MyApp.zip" adding: MyApp

zip error: Interrupted (aborting) Splunk Mint: Failed to archive dSYMs for "MyApp" to "/tmp/splunk-mint-dsyms" Command /bin/sh failed with exit code 252

Second error is

Splunk Mint: Archiving "MyApp" to "/tmp/splunk-mint-dsyms/MyApp.zip" adding: MyApp (deflated 68%) Splunk Mint: ERROR "400" while uploading "/tmp/splunk-mint-dsyms/MyApp.zip"

Please remove run script added for auto upload DSYM file. And manually upload DSYM for crash report symbolication. Please check for how to upload DSYM manually.

Download dSYM bundles using Xcode Organizer after archiving your app

  1. In Xcode, from the Xcode menu select Window > Organizer.
  2. In Xcode Organizer, click the Archives tab.
  3. Under iOS Apps, select your app from the list.
  4. From the Version column, select the archive for your app, displayed as App Version (Build Uuid).
  5. Click Download dSYMs to download the dSYM bundles from Apple.

Compress and upload dSYM bundles to MINT

  1. In Finder, find the dSYM bundles (archive files) you just downloaded.
  2. Right-click the archive file and select Show package contents.
  3. Open the dSYMs folder.
  4. Compress each dSYM file named with your app's build UUID to a ZIP file.
  5. Open MINT Management Console by logging in to mint.splunk.com.
  6. Select your app project.
  7. Click the Settings dashboard.
  8. Under Project Settings, click dSYMs.
  9. Click Browse & Upload, then navigate to and select the dSYM bundles you compressed.

For more info check out docs

The answer that worked for me was contained here:

Run Script Phase after dSYM is generated with Xcode 10 (on build)

Adding sleep 5 to the top of:

iOS/Pods/SplunkMint/SplunkMint.framework/Resource/splunkmint_postbuild_dsym_upload_script.sh

A hack, yes, but better than having to disable the upload completely IMO.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM