iPhone 与 Xcode 的连接错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20468322/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iPhone connection error with Xcode
提问by Bilal hussain
I want to test my application on real device for the first time, but when I try to connect the iPhone to xcode I get shown an error message :
我想第一次在真实设备上测试我的应用程序,但是当我尝试将 iPhone 连接到 xcode 时,我收到一条错误消息:
(The device is passcode protected.Please unlock your device and reattach, (0xE800001A)).
(设备受密码保护。请解锁您的设备并重新连接,(0xE800001A))。
Please can anyone help me I have done a lot of search on it but unfortunately I couldn't find the any solution.
请任何人都可以帮助我我已经做了很多搜索,但不幸的是我找不到任何解决方案。
回答by rckoenes
The error message clearly states you solution: The device is passcode protected.Please unlock your device and reattach
错误消息清楚地说明了您的解决方案: The device is passcode protected.Please unlock your device and reattach
You have pass code set to unlock you phone, which also adds some protection and restricts access to your device. Unlock you device before connecting it will allow Xcode to acces your device.
您已设置密码来解锁您的手机,这也增加了一些保护并限制对您设备的访问。在连接之前解锁您的设备将允许 Xcode 访问您的设备。
回答by Popeye
This is obvious by the error that you are getting that your iPhone is protected by a pin (The lock screen).
这一点很明显,因为您收到的错误是您的 iPhone 受到了别针(锁定屏幕)的保护。
Steps :
脚步 :
- Swipe finger across screen
- Enter pin code
- You should now be on the iPhone home screen (where the apps appear)
- 在屏幕上滑动手指
- 输入密码
- 您现在应该在 iPhone 主屏幕上(应用程序出现的地方)
If it still doesn't show up in xcode there could be a range of different issues.
如果它仍然没有出现在 xcode 中,则可能存在一系列不同的问题。
- Device isn't provisioned (Requires an Apple Developer account, paid account not free)
- You are running an xcode below xcode 5 and running iOS 7, iOS 7 requires xcode 5 minimum.
- 设备未配置(需要 Apple Developer 帐户,付费帐户不是免费的)
- 您正在运行低于 xcode 5 的 xcode 并运行 iOS 7,iOS 7 至少需要 xcode 5。
If you're not registered as an Apple Developer (paid account, not free) then you will not be able to run your app on a device. To run an App on a device you are required to provision the device that you are using which will make it so you can use it for development and testing purposes.
如果您未注册为 Apple Developer(付费帐户,非免费),那么您将无法在设备上运行您的应用程序。要在设备上运行应用程序,您需要配置您正在使用的设备,以便您可以将其用于开发和测试目的。
UPDATE
更新
Thanks to rckoenes
comments - if you have both xcode 5
and xcode 4
installed on the same machine, then after connecting an iOS7 device in xcode 5
you can use it in both xcode 5
and xcode 4
until the device is reset.
由于rckoenes
意见-如果你有两个xcode 5
与xcode 4
安装在同一台机器上,然后连接一个iOS7设备后,xcode 5
你可以都使用它xcode 5
,并xcode 4
直到设备复位。