I have an OSX desktop Xcode project which includes another Xcode project (a framework) as a dependency. When I build an archive of the app, it generates two dSYM packages - one for the app and one for the framework.
When I symbolicate crashes received from the app, symbols from the app package show up correctly (with file names and line numbers). However, symbols from the framework don't symbolicate at all - they just show the Framework name and memory address. Is there a way to symbolicate the parts of the stack trace involving the framework code?
Looking at the archive that I generated the.app package from, the UUID of the framework's dSYM doesn't match the one that gets copied into the "Frameworks" folder in the .app:
The HCCommon framework inside the .app package in the archive file:
/path/to/HipChat.xcarchive $ dwarfdump --uuid Products/Applications/HipChat.app/Contents/Frameworks/HCCommon.framework/HCCommon
UUID: 84891A9C-19DB-3E16-BE7E-9D4056FFFB97 (x86_64) Products/Applications/HipChat.app/Contents/Frameworks/HCCommon.framework/HCCommon
vs the dSYM of the HCCommon framework (in the dSYMs directory in the archive file):
/path/to/HipChat.xcarchive $ dwarfdump --uuid dSYMs/HCCommon.framework.dSYM/Contents/Resources/DWARF/HCCommon
UUID: 767F2D97-9E0B-3C4D-8337-FDF5A9CA2D81 (x86_64) dSYMs/HCCommon.framework.dSYM/Contents/Resources/DWARF/HCCommon