I received a .crash file from a customer and need to link it to the correct dSYM file. The archive for this product/version was built by another developer using Xcode, and the .xcarchive file put into git for a rainy day (like today).
After reading Analyzing Crash Reports and Understanding and Analyzing iOS Application Crash Reports it isn't clear how this works.
I have done the following:
- open the Devices window, "View Device Logs" button
- drag the .crash file to the list (we drag a crash log from a different device/user onto our device - this seems wrong but AFAIK is what needs to be done)
- In Organizer/Archives, the archive for the needed version is NOT in my list. It was built on a different computer and I have not done anything to bring it to my environment yet
- Initially when I was viewing the crash file, it simply had the hex codes
- right-click and "Re-Symbolicate" the crash log that I added earlier
- Somehow Xcode now seems to know about about my archive. I see method and line number info now, but...
I'm not convinced this is working, and may be linked to the wrong thing.
Q: How does Xcode know about my xcarchive file that contains the dSYM for the version of the crash file? (I would expect it to have to be in the Organizer/Archives list, but isn't)
Q: Is there a better way to import the .crash file? (I would expect to be able to drag it into Organizer/Crashes, but apparently not)