[英]No provisioned iOS devices are available with a compatible iOS version,Why i am getting this error?
I'm trying to test my app on an iPhone 4, however I'm getting this error: 我正在尝试在iPhone 4上测试我的应用,但是出现此错误:
No provisioned iOS devices are available with a compatible iOS version. 没有可用的兼容iOS版本的预配置iOS设备。 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模拟器作为目标。
Xcode creates applications for ARM7 by default. Xcode默认情况下为ARM7创建应用程序。
To support the iPhone 3G and other arm6 devices, you need to specify arm6 and arm7 in in the Architectures list, and set the device requirements to only arm6 in the plist. 要支持iPhone 3G和其他arm6设备,您需要在“架构”列表中指定arm6和arm7,并将设备要求设置为plist中的仅arm6。
如果您的Xcode太旧,也可能会收到此错误消息,即您尚未更新它,但您已经更新了手机。
When I changed my app from iPhone to Universal, Xcode automatically changed the Deployment Target from 4.3 to 6.1, my device had 6.0 so it wasn't recognized. 当我将应用程序从iPhone更改为Universal时,Xcode会自动将Deployment Target从4.3更改为6.1,我的设备为6.0,因此无法识别。
Changing the value back to 4.3 solved the problem. 将值更改回4.3可解决该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.