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
- From Xcode's Top Menu (See screen capture) click the target name, then from "Manage Schemes..." open the appropriate target scheme to modify.
- Under "Build", select "Post-actions", then click the plus (+) and select "New Run Script Action", and open the script editing screen.
- Select the appropriate target in Xcode, then select the "Build Phases" tab.
- After "Run Script" is displayed, select the appropriate target in the "Provide build settins from" setting.
- 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"
With the above, dSYM will be automatically uploaded.