User's iOS Xcode software image to symbolize iOS calls
Installed software images:
My crash log:
As you can see, only the app (IPDF beta) shows any friendly method names and everything else. The reason is, obviously, that I don't have the 5.1 software image installed and I don't know where to get my hands on it. Xcode doesn't have any download functionality (I've already tried grabbing the simulator 5.1 download, but that doesn't seem to include the device image).
Should Xcode be able to symbolize even though it has no software image for the crash version? If so, what are the pointers on how to do this? If not, what is the correct way to get the image, other than absurd suggestions like looking for older versions of Xcode, etc.
source to share
To symbolize crash reports, you need actual symbols. And iOS image images don't help. You need to install them on a real device and then Xcode can grab the symbols from the device. But if you don't have a device with older versions of iOS, you won't be able to install them.
So the only chance is to download older versions of Xcode that should have the symbols specified in it, as mentioned by Ryan Pullos in his answer: fooobar.com/questions/1999377 / ... p>
Once downloaded, extract Xcode to a temporary folder, navigate to the folder Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
and copy the subdirectories to ~/Library/Developer/Xcode/iOS DeviceSupport/
.
If the folder is a symbolic link to another SDK folder inside the Xcode directory structure, it is best to copy the actual content from there to the new destination. Make sure the directory structure is identical in the target directory because the symbology process relies on it.
So the target structure below ~/Library/Developer/Xcode/iOS DeviceSupport/
will look like 5.1 (9B176)/Symbols/
, then three subdirectories Developer
, System
and usr
with more content for each iOS version.
Note. Since iOS 5.0 there can be multiple builds for each iOS version. One for armv7
and the other for armv7s
.
source to share
Older iOS versions can be downloaded from Apple. But they are built into older versions of Xcode. Therefore, you will need to download Xcode and then pull the SDK image.
Apple Download: https://developer.apple.com/downloads/index.action?name=Xcode
You can get the image here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
according to this SO question: fooobar.com/questions/348788 / ...
source to share