How to generate .symbols files without exporting the archive?

xcodebuild -exportOptionsPlist has an uploadSymbols option that includes *.symbols files when creating an IPA from an .xcarchive

I want to be able to generate these *.symbols files from the .xcarchive without creating the IPA (which requires proper certificates to be installed on my machine). Is there a way to do this with xcodebuild?

Alternatively, Is there a way to convert dSYM files to .symbols?

Thanks

Answered by smaniv in 704496022

A coworker helped to identify the symbols command that does exactly what I'm looking for. Leaving it here for the future:

symbols -arch all -symbolsPackageDir <path_to_Symbols_output_directory> <path_to_dSYMs>/*

Probably take a look in the derived folder of the latest build against a real device or just archive and export to disk.

Accepted Answer

A coworker helped to identify the symbols command that does exactly what I'm looking for. Leaving it here for the future:

symbols -arch all -symbolsPackageDir <path_to_Symbols_output_directory> <path_to_dSYMs>/*

How to generate .symbols files without exporting the archive?
 
 
Q