没有配置的iOS设备可用兼容的iOS版本 [英] No provisioned iOS devices are available with a compatible iOS version
问题描述
我正在尝试在iPhone 3G上测试我的应用程序,但是我收到此错误:
没有配置的iOS设备可用兼容的iOS版本。将iOS设备与最新版本的iOS连接以运行您的应用程序或选择iOS模拟器作为目的地。
请注意:
- 3G安装了iOS版本4.2.1
- iOS部署目标设置为版本4.2
- 设备已安装有效的开发配置文件
- 我使用的是最新的Xcode 4
我很茫然。任何人都可以帮忙吗?
Tim
我终于找到了解决方案如果其他人有这个问题,那么知道Xcode现在默认为ARM7创建应用程序可能会有用。
要支持iPhone 3G和其他arm6设备,您需要在Architectures列表中指定arm6和arm7,并将设备要求设置为plist中的arm6。
I'm trying to test my app on an iPhone 3G, however I'm getting this 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.
Note that:
- The 3G has version 4.2.1 of iOS installed
- The iOS deployment target is set to version 4.2
- The device has valid development profiles installed
- I'm using the latest Xcode 4
I'm at a loss. Can anyone help?
Tim
I finally found a solution to this.
If anyone else has this problem then it might be useful to know that Xcode now creates applications for ARM7 by default.
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.
这篇关于没有配置的iOS设备可用兼容的iOS版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!