[Xcode 10 and later] How to use the dsym_upload script to upload dSYM files.

 Usage

1. Copy dsym_upload.sh to your project folder.

Copy dsym_upload.sh into any dir under your iOS project

 

e.g. /<project_root>/scripts/dsym_upload.sh

 

2.Edit Post-Actions in Xcode

xcode_edit_scheme.png

  1. From Xcode's Top Menu (See screen capture) click the target name, then from "Manage Schemes..." open the appropriate target scheme to modify.
  2. Under "Build", select "Post-actions", then click the plus (+) and select "New Run Script Action", and open the script editing screen.
  3. Select the appropriate target in Xcode, then select the "Build Phases" tab.
  4. After "Run Script" is displayed, select the appropriate target in the "Provide build settins from" setting.
  5. Insert the following script in the box below the text "Type a script or drag a script file from your workspace to insert its path."

※Change the API Key and API Token to the values you obtain from the SmartBeat console.

SMARTBEAT_API_KEY="your API key"
SMARTBEAT_API_TOKEN="your API Token"

source "${SRCROOT}/scripts/dsym_upload.sh"

xcode_post_actions.png

With the above, dSYM will be automatically uploaded.

 
도움이 되었습니까?
0명 중 0명이 도움이 되었다고 했습니다.
또 다른 질문이 있으십니까? 문의 등록
Zendesk 제공