简体   繁体   English

尝试在iPhone iOS 6.1.2上测试我的应用程序,但出现“没有预配置的iOS设备...”错误?

[英]Trying to test my app on iPhone iOS 6.1.2 but “No provisioned iOS devices…” error?

I have a big problem. 我有一个大问题。 I have an iPhone with iOS 6.1.2 and the latest version of Xcode - 4.6.1. 我有一个带有iOS 6.1.2和最新版本Xcode-4.6.1的iPhone。 When I try to test my app on that device, Xcode says that 当我尝试在该设备上测试我的应用时,Xcode表示

"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模拟器作为目标。”

Where is the problem and how to solve this? 问题出在哪里,如何解决? I tried going to Organizer, right click on device and adding device to provisioning profile, but no result. 我尝试转到管理器,右键单击设备,然后将设备添加到配置文件中,但是没有结果。 Thanks in advance! 提前致谢!

you try these methods:- 您可以尝试以下方法:

  • Try clicking "Use for Development" on your device in the Xcode Organizer. 尝试在Xcode Organizer中单击设备上的“用于开发”。
  • Stupid but try this also closing and re-opening xcode. 愚蠢的,但也尝试关闭并重新打开xcode。

I think these are going to help you.. 我认为这些会为您提供帮助。

Try this I am not sure : Select your project Target->under the summery select the some low deployment target like 5.0 . 试试看我不确定:选择您的项目Target-> summery下,选择一些较低的部署目标,如5.0。
and see whether is it working . 看看它是否有效。

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

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