我使用x code 4.4.1与cordova 1.7.0,我创建了Ad Hoc IPA文件,并安装在iPad与iOS6它工作正常。然后我尝试在iPhone 3gs与iOS 4.2.1安装时显示错误-"应用程序"xxx"没有安装在iPhone"xxx"上,因为它与这款iPhone不兼容"。
您可能仅为iPad
创建项目。如果您想在iPhone
和iPad
中同时运行app
,则需要将项目创建为Universal
。检查Targets
,在Summary
选项卡中Devices
是否设置为Universal
或iPad
。