Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode8.0 Beta 6 - unable to read from device

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?

like image 754
Michel Arteta Avatar asked Aug 15 '16 22:08

Michel Arteta


3 Answers

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
like image 112
Tibidabo Avatar answered Oct 21 '22 12:10

Tibidabo


I got it to work. Try restarting your device.

If not, delete the contents of /Users/yourusername/Library/Developer/Xcode/iOS DeviceSupport, plug it into Xcode again and let it process symbol files.

like image 32
diegotrevisan Avatar answered Oct 21 '22 13:10

diegotrevisan


I found myself with the same issue, also my iOS > Settings > Developer: Turned out to be blank.

Solution

On iOS device go:

  1. Settings > General > Reset > Reset Network settings
  2. Device will reboot ( and you will lose wifi passwords etc )
  3. Start Xcode 8 ( beta 6 ) and plug your device in.

If this alone not work try following

  1. Unplug your device.
  2. Reboot your Mac
  3. Download Xcode 8 beta 6 and put it in applications folder.
  4. Delete content of: /Users/User/Library/Developer/Xcode/iOS DeviceSupport.
  5. Performance the steps above to Reset Network settings on iOS 10 device.
  6. When iOS device starts up plug it into your Mac, Accept it as trusted device
  7. Start Xcode 8 beta 6.

Hopefully this will work for everyone else, the list above include all the most common fixes.

like image 25
Mathias Asberg Avatar answered Oct 21 '22 11:10

Mathias Asberg