How do you (batch) extract the contents of many .xcarchive files?
The story:
I have a crash log from a semi-unknown build, this build would match a dSYM. I have lots of dSYMs from all the builds I have. I need to match the crash log versus the dSYM. The process is detailed here: https://stackoverflow.com/a/12337755/129202
I have many .xcarchive files with dSYMs, I need to extract the dsym files from the .xcarchive files before I can get their contents. Doing mdls *.dSYM
while they are still inside an .xcarchive does not give valid output.
I could use Finder to extract the dSYM files but as I have a lot of builds, this is a very tedious task and this leads me to the question, how do you (batch) extract the contents of many .xcarchive files?