问题
When I try to run my app on my device Xcode gets stuck on processing symbol files.
I restarted the machine (I'm using VirtualBox), tried a different USB port, restarted the host computer, cleaned the build folder, tried a different project, updated Xcode to 8.2, tried to use Xcode 7.3 but nothing worked. My device does show in iTunes.
I left iTunes open when I tried to run it on my iPad and then it said "Unable to copy symbol files - unable to read required data from device"
Xcode 8.2 (latest currently) and iOS 10.1
回答1:
Today I have solved exactly the same problem. I think the main problem is in VirtualBox USB controller. Go to the settings of your virtual machine, select USB and you will see 'USB Controller 1.1 (OHCI)' by default. You have to select 'USB controller 2.0 (EHCI)'. I have: - VirtualBox: 5.1.12r112440 (Qt5.6.2) - macOS Sierra 10.12.2 with the latest updates. - XCode 8.2 - iPhone 5, iOS 10.2
Be sure that: - You have original lightning cable - You can see your iDevice in iTunes - Try to restart your MAC and iDevice
回答2:
This happened to me as well. What I did:
Make sure all your hardware (iPhones, iPads ect..) are all up to date.
Make sure Xcode and all other software are up to their latest versions.
After you have done both of those, restart your computer and try again. It will take a while for Xcode to processes the index files for the first time, but after these steps above, it should work fine.
回答3:
Try this:
- Clean Project
- Remove this folder Library/Developer/Xcode/DerivedData/ModuleCache
- Find your project folder in Library/Developer/Xcode/DerivedData/ and remove
- Restart Xcode
来源:https://stackoverflow.com/questions/41211718/xcode-stuck-at-processing-symbol-files