简体   繁体   English

在物理设备上测试

[英]Testing on a physical device

I am having a problem with XCode and the ability to test an app on a physical device. 我在使用XCode以及在物理设备上测试应用程序的能力时遇到问题。 I am running XCode v. 4.5.2 and my iPhone is OS 6.1. 我正在运行XCode v。4.5.2,而我的iPhone是OS 6.1。 When I try to test on the physical device I get the following error: 当我尝试在物理设备上进行测试时,出现以下错误:

"No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination." “兼容的iOS版本不提供预配置的iOS设备。将iOS设备与最新版本的iOS连接,以运行您的应用程序或选择iOS模拟器作为目标。”

The deployment target for the app is 6.0. 该应用程序的部署目标是6.0。 I don't know what else to check. 我不知道还要检查什么。 Can anybody offer advice? 有人可以提供建议吗?

Thx! 谢谢!

You need to upgrade to Xcode 4.6, which supports iOS 6.1 and above 您需要升级到支持iOS 6.1及更高版本的Xcode 4.6

https://developer.apple.com/library/ios/#releasenotes/DeveloperTools/RN-Xcode/index.html https://developer.apple.com/library/ios/#releasenotes/DeveloperTools/RN-Xcode/index.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM