Xcode doesn’t symbolicate system symbols

QA has a crash on an iPad 2 running iOS 9.2 (13C75). When I drag the log into the Devices window, only my own code is symbolicated


21  CoreFoundation               0x20d909e0 0x20d88000 + 35296
22  GraphicsServices             0x21fdcac4 0x21fd3000 + 39620
23  UIKit                       0x25020b9c 0x24fa5000 + 506780
24  Six Ages                     0x0012aed8 main (main.m:15)


but the only symbol is main so this isn't terribly useful. Is the issue because this is not a 64-bit device? I'm using Xcode 7.2 and the 9.2 SDK. (Unfortunately I have no access to a comparable device, thanks to not being able to install arbitrary versions of iOS for test purposes, and QA is at a different location.


I tried to symbolicate manually, but get


atos cannot load symbols for the file Xcode/iOS DeviceSupport/9.2 (13C75)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit for architecture armv7.

And the crash appears to be for armv7 architecture. So, how can I get Xcode (preferably) to symbolicate an iPad 2 crash. Or, how can I get symbols for its architecture? Or am I missing something?

Replies

Yes, current versions of Xcode download symbols when devices are plugged in.

Can you borrow an iPad 2 with the same version of iOS just to plug it in to your development machine?

When troubleshooting a device crash, access to the same hardware for testing is extremely helpful and sometimes essential.

Probably not. Let’s just stick with trying to figure out how to symbolicate system symbols for a log that only symbolicates app symbols.

FWIW, you might want to file a bug about Xcode requiring a physical device running the right architecture and OS version to be plugged in before it can symbolicate properly. Xcode should be able to download the symbols for any known OS version from Apple servers, IMHO.

The bug continues with Xcode 7.3b1. Filed 24149838 since it appears there is no workaround.

At least you are seeing something!

Whe I view the crash log from my watchApp, there's no symbolication at all!


Filtered syslog:
None found


Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib             0x0084eff4 0x654000 + 2076660
1   libswiftCore.dylib             0x006abcdc 0x654000 + 359644
2   raceQs WatchKit Extension     0x001e9bbc 0x1c4000 + 154556
3   raceQs WatchKit Extension     0x001e525c 0x1c4000 + 135772
4   raceQs WatchKit Extension     0x001ddc94 0x1c4000 + 105620
5   raceQs WatchKit Extension     0x001ddf0c 0x1c4000 + 106252
6   CoreLocation                   0x21551da0 0x21537000 + 109984
7   CoreLocation                   0x2155169a 0x21537000 + 108186
8   CoreLocation                   0x2153d658 0x21537000 + 26200


I have raised a bug report