Xcode8.0 Beta 6 - unable to read from device

21.1k views Asked by At

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?

15

There are 15 answers

9
diegotrevisan On

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.

1
pastmaster On

Few hours back i got same issue. Following below steps fixed my issue.

  1. Restart Mac
  2. Restart iOS device
  3. Open xcode beta
  4. Open devices window from "window->Devices" menu
  5. Click on iPad and wait until "load symbols" progress indicator finishes.

It took me 10mins to load symbols, then Xcode detected device. And i had to restart twice iOS device and once Mac.

In case, if you see error after step5, hard restart iOS device (press home button and sleep button at a time and wait for apple logo to appear) and try same from step1.

My configuration: Mac(10.11.6), iPad (build version: 10.0_14A5341a), XCode 8.0 beta 6

Hope this helps :)

1
SaSch On

I had the same problem with 14A5341a. As several reboots did not lead to any improvements, I dug deeper and found that the issue appeared as soon as I started tracking my device via iCloud. As soon as I switched tracking off, everything worked as expected again.

0
Mathis Schülingkamp On

For me, changing the development target to 9 and then back to 10 worked.

1
Mathias Asberg On

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.

1
Richard Rodriguez On
  1. Update Xcode to Xcode 8 beta 6
  2. And Reset Network on your iPhone (Settings > General > Reset > Reset Network settings).

That worked for me.

6
Tibidabo On

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
0
radioaktiv On

Had same issue here. Fixed it by reseting the device (Power Button + Home Button) and replacing the lightning with an original one (apparently I was using one of those replicas) .

1
WimTar On

I didn't need to do the Reset Network step for the phone.

0
Hannah Zhang On

I tried the all the steps above, and reboot, restart both phone and my mac book, none of them works. I end up to download Xcode Version 8.1 (8T61a) and it works. My phone's os version is iOS 10.1 In xcode 8.1, my swift files have to have some minor syntax changes to be build.

0
Roman Solodyashkin On

Xcode 10 re-pair device fix problems for me.

  1. Open devices: select menu Xcode > Window > Devices and Simulators ⌘+⇧+2
  2. Inside window "Devices and Simulators":
    1. Select your device in left column
    2. Right click on device to open list menu
    3. Select list menu "Unpair Device"
    4. Device will show "Trust dialog" > choose trust. If dialog not shown, on device open system Settings > Developer > Clear Trusted Computers
0
Vandit Mehta On

Just restart your device

It's work for me... May be it's work for you also...

0
Vinuta On

I was facing this issue on XCode 8 Beta 4. Updating XCode to XCode 8 Beta 6 resolved the issue.

I read somewhere that "Settings->General->Reset->Reset All Settings" resolves this issue. It did not help me but I had done it anyway. Not sure if Settings need to be reset along with updating XCode.

0
Nate4436271 On

None of the above solutions worked for me. Turns out it wont download symbol files if you are using the GM for tvOS 10. I removed the provisioning profile for the GM and it worked like a charm.

Hope this was helpful to someone.

0
ingconti On

my two cents: I can confirm same trivial fix for Version 9.2 (9C40b)and highSierra / OS 11.2.5 (15D60)

I got the same error, but after restarting OSX it did work.