DWARF with dSYM means that after you build your executable, a dSYM debug information file will be linked using a tool named dsymutil . dsymutil gets run after your executable is linked to parse the debug map in the main executable and produce a dSYM file with all of the debug information.
dSYM file automatically for you when you use the Archive option. The created archive contains your app and its dSYM and is stored in ~/Library/Developer/xcode/Archives .
The below solution worked for me ,i hope it will help you.
Goto build setting of your project then Search for debug information format in build setting and search for "Debug information format" then set "Debug information format" to "DWARF with dSYM file"
and make sure Generate debug symbol in build setting is set to Yes.
Check for true "run script only when installing" on Run Script
Elaborating Bruno's response, if you already have a script phase that you need to run all the time, create a new dedicated phase in order to avoid conflicts.
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