
Uploading iOS DSYM files to AppCenter – oneliner
Tip: how to upload iOS symbol files from command line without logging into AppCenter. 3 easy steps
Step 1. Install AppCenter command line: npm i -g appcenter-cli
Step 2. Setup API token in AppCenter: AppCenter.ms -> Settings -> Api Tokens
Step 3. Run command below to upload iOS symbols to AppCenter
appcenter crashes upload-symbols -s path/to/YourApplication.app.DSYM --app "AppCenterOrgId/AppCenterAppId" --token your-appcenter-token
For example, for a typical Xamarin iOS path would be YourIOSProject/bin/iPhone/Ad-Hoc/YourIOSProject.app.dSYM
You can get your AppCenterOrgId and AppCenterAppId from your url – just go to the app details and see for the address bar:
on the image AppCenterOrgId would be DreamTeam-Mobile-Center
and AppCenterAppId would be Burn-Vibes
.
By the way, that would be Burn Vibes iOS app 😉
Big thanks to Chris Ball for sorting this out: https://discuss.bitrise.io/t/upload-to-azure-mobile-center-step/2120/12
I’ve been searching for something like this for so long, it’s awesome to be so close to making it work. The error I’m getting is “failed to start the symbol uploading” which seems to be related to the token (writing a wrong dSym path or wrong app Id returns an explicit error)
Did it ever happen to you?
Ani, we did not get this error.
Wondering if you made your token for the correct app/organization and your user in AppCenter has rights to upload the symbols.
Please let us know how you solved your problem so we can share it with the audience.
I also got ‘failed to start the symbol uploading’ and had trouble finding a solution.
However my problem was that I had the wrong appname and this blog post solved my problem.
Seems like renaming your app doesn’t change the appname App Center uses internally.