I'm trying to zip an iOS dSYM file to upload to Xamarin Insights with a shell script (we're using VSTS release management with a locally hosted Mac OS X build agent).
I'm trying to figure out how to zip up the dSYM file, so I'm trying this command in the Mac Terminal:
$ cd /path/to/ipa/folder
$ zip SymbolFiles.zip *.dSYM
The output is:
updating: MyApp.app.dSYM/ (stored 0%)
The resulting zip file is only 206 bytes while the dSYM file is 127.2MB. When I unzip the resulting SymbolFiles.zip
I get a 0 byte MyApp.app.dSYM file.
Any ideas?
I've also tried
$ cd /path/to/ipa/folder
$ zip SymbolFiles.zip MyApp.app.dSYM
dSYM files are technically folders, so you need to do a recursive compression.
Try
zip -r SymbolFiles.zip MyApp.app.dSYM
or
zip -r SymbolFiles.zip *.dSYM
Look here for more details on command line parameters.
I ran into this same confusing issue.
If you are INSIDE of a "Show Package Contents" option you cannot zip a file in there. eg. trying to zip the dsym
inside of a .xcarchive
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With