Xcode8.0 Beta 6 - unable to read from device

Michel Arteta picture Michel Arteta · Aug 16, 2016 · Viewed 18.4k times · Source

I just upgraded Xcode 8.0 from beta 4 to beta 6 and I am getting this message " unable to read from device " when trying to build the app on my device. Any ideas what the problem could be?

Answer

Tibidabo picture Tibidabo · Aug 19, 2016

This is the error when the symbols are missing. Usually you get this error when your device has higher version than the Xcode such as iOS 10 vs Xcode 7.3 In this case Xcode 8 beta 6 failed to copy iOS 10 beta 6 symbols from the device.

  1. Open Devices in Xcode
  2. Select your device. It should have an unexpected error message
  3. Delete "~/Library/Developer/Xcode/iOS DeviceSupport" directory
  4. Unplug your device
  5. Restart your device
  6. Plug back your device
  7. Xcode should start copying the symbol files immediately