I was wondering if anyone could tell me what Xcode is actually doing when it says: "Processing Symbol Files" after plugging in your device?
8 Answers
It downloads the (debug) symbols from the device, so it becomes possible to debug on devices with that specific iOS version and also to symbolicate crash reports that happened on that iOS version.
Since symbols are CPU specific, the above only works if you have imported the symbols not only for a specific iOS device but also for a specific CPU type. The currently CPU types needed are armv7 (e.g. iPhone 4, iPhone 4s), armv7s (e.g. iPhone 5) and arm64 (e.g. iPhone 5s).
So if you want to symbolicate a crash report that happened on an iPhone 5 with armv7s and only have the symbols for armv7 for that specific iOS version, Xcode won't be able to (fully) symbolicate the crash report.
-
19I recently found that Xcode would not process symbol files from either my iPad2 or my iPhone4s. Always it would stop halfway through and never complete, not even after half an hour. In the end I got it to work... by breaking out a completely brand new connector cable and plugging it directly into my Mac Mini (previously I had been plugged in via an extension cable). I concluded that poor connection REALLY messes with symbol updates.– AshMay 1, 2014 at 20:37
-
5So why not bundle those symbols with the xcode distribution? Why go to all the trouble of extracting them from the device? Jul 16, 2015 at 6:24
-
3Symbols for all architectures are bigger than 1GB in size per (iOS) version, and there is not always an Xcode update for each bugfix release. Xcode is only being updated with API updates/changes.– KerniJul 16, 2015 at 8:03
-
@VladimirDespotovic What do you want to solve here? This is not a problem. This needs to be done as the debugger needs this data and for crash symbolication this is also needed. The question also didn't state a problem.– KerniAug 15, 2016 at 17:40
In Xcode Version 6.1.1 (6A2008a), after "Processing Symbol Files", a folder containing symbols associated with the device (including iOS version and CPU type) was created in ~/Library/Developer/Xcode/iOS DeviceSupport/ like this:
-
6
-
6
-
6
-
7Since the Sym Files are downloaded when needed, I trashed most of all the folders in this location. It freed up over 24 gig on my SSD! Mar 23, 2016 at 5:59
-
xCode just copy all crashes logs. If you want to speed-up: delete number of crash reports after you analyze it, directly in this window.
Devices -> View Device Logs -> All Logs
In my case symbolicating was take forever. I force restart my phone with both of on/off and home button. Now quickly finished symbolicating and I am starting run my app via xcode.
I know that this is not a technical solution but I had my iphone connected with the computer by cable and disconnecting the device from the computer and connecting it again (by cable again) worked for me as I could not solved it with the solutions that are provided before.
-
That may have been lucky timing... or a delayed reaction to other actions you took. I disconnected and reconnected and it went back into this mode until it had finished. Apr 27, 2017 at 10:55
It compares crash logs retrieved from the device to archived (symbolized to be correct) version of your applications to try to retrieved where on your code the crash occurred.
Look at xcode symbol file location for details
Annoying error. I solved it by plugging the cable directly into the iPad. For some reason the process would never finish if I had the iPad in Apple's pass-through stand.
-
3It's an error because it would NEVER complete if I had it in the stand. Oct 27, 2015 at 20:49
-
2I recognize the answer is poorly expressed, but it was indeed right for me, connecting directly to the usb port resolved for me, despite the usb-hub was working fine for any other task– jaloneJul 12, 2016 at 10:44
Add SDK version correspond to your iPhone iOS, eg: iOS 10.3
path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
It's downloading. When it's finished, it's OK. As shown in the figure: