简体   繁体   English

使用sdk 4.0.1创建的应用程序不会安装在带有操作系统4.2的设备上

[英]An app that made with sdk 4.0.1 doesn't install on device with os 4.2

I made an app with ios sdk 4.0.1 but now i want to install it from xcode on ipod touch with os 4.2 but says 我用ios sdk 4.0.1制作了一个应用程序,但是现在我想从os 4.2的ipod touch上的xcode安装它,但是说

No provisioned iPhone OS device is connected. 未连接配置的iPhone OS设备。

Open up organizer, with your device plugged in, and select it in the list on the left. 在插入设备的情况下打开管理器,然后在左侧列表中选择它。 Then once selected, click "Use for Development." 然后选择后,单击“用于开发”。 This should fix you right up. 这应该可以解决你的问题。

If the above doesn't work (and it almost certainly should help), you might try disconnecting and reconnecting your device and or rebooting your device and/or mac. 如果上述方法不起作用(并且几乎肯定应该有所帮助),您可以尝试断开连接并重新连接设备并重新启动设备和/或mac。

Side note - it's good practice to always compile against the latest SDK (currently 4.2) and set your build Deployment Target to the minimum version of the OS you wish to support. 附注 - 最好始终针对最新的SDK(目前为4.2)进行编译,并将构建部署目标设置为您希望支持的最低操作系统版本。

I think above method will not resolve the problem. 我认为以上方法无法解决问题。

Follow these steps: 跟着这些步骤:

1) Go into Project -> Project Edit Settings 1)进入项目->项目编辑设置

2) Set Base Sdk iOS4.2 2)设置基础SDK iOS4.2

3) Set MacOS Deployment Target : MAC OSX 10.5 3)设置MacOS部署目标:MAC OSX 10.5

4) iOS Deployment Target: iOS4.0 4)iOS部署目标:iOS4.0

Thats it 而已

Cheers, 干杯,

Tariq 塔里克

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

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