Xcode 6 GM with iPhone 5s (iOS 8 GM) - 0xE8000070

爱⌒轻易说出口 提交于 2019-12-10 17:58:16

问题


I'm using Xcode 6 GM Seed (build 6A313) with iPhone 5s (Model A1530, iOS 8 build 12A365). I connect the iPhone via USB lightning cable. But in Xcode, it shows as: "iPhone 5s (unavailable)".

Further investigation: I open Xcode menu > Window > Devices, it shows the following error:

An error was encountered while enabling development on this device.

Please try rebooting and reconnecting the device. (0xE8000070)

I reboot and reconnect my iPhone 5s, the same error is shown. This device was used for development in previous Xcode 5, and shows no problem at all.

What should I do? I want to try my apps in iOS 8 device.


回答1:


If you are using Xcode-beta 7.1 and want to run app on iOS 9.0 like me you will also get the same error. The solution is:

  1. Use corresponding iOS 9.1-beta.
  2. Use Xcode 7.0
  3. Run on simulator.



回答2:


The problem is resolved after I updated iTunes to version 11.4 via Software Updates.

The Xcode error message is misleading.




回答3:


In my case, during 2 years developing, my phone has several test app with name (null). you can only see a default Xcode app icon in app list in Setting. I had tried updating Xcode, but not work. finally I delete these null name apps, then Xcode - device can connect it without warning sign. Run test app won't get the error in question. only my case. share it in case you encounter in future.



来源:https://stackoverflow.com/questions/25785281/xcode-6-gm-with-iphone-5s-ios-8-gm-0xe8000070

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!