我想在 iPhone 上安装我的 iPhone 应用程序,并且也有测试临时配置文件。主要问题是我在mac lion环境中开发应用程序Xcode版本是4.2.1
并使用 iOS5 我想将其安装在设备 iPad 4.3.1 (iOS 4) 上,因此它在 Xcode 上给了我错误消息
运行目标 iOS 设备对于运行方案“myProjectName”无效。方案“myProjectName”不包含可为运行目标 iOS 设备支持的 SDK 构建的可构建项。确保您的目标都指定此版本 Xcode 支持的 SDK。”
我应该为此做什么?
I want to install my iphone app on iphone and also have test provisional profile also. The main problem is that i developing applicaion in mac lion environment Xcode version is 4.2.1
and using iOS5 i want to install it on device iPad 4.3.1 (iOS 4) so it gave me error message on Xcode
The run destination iOS Device is not valid for Running the scheme 'myProjectName The scheme 'myProjectName' contains no buildables that can be built for the SDKs supported by the run destination iOS Device. Make sure your targets all specify SDKs that are supported by this version of Xcode."
What should i have to do for it?
发布评论
评论(4)
这是因为您使用 iOS 5 作为部署目标。转到构建设置并根据您的需要设置部署目标。
That is because you are using iOS 5 as your deployment target. Go to build setting and set the deployment target as per your need.
在您的项目设置中检查有效的架构。您需要同时包含armv6和armv7架构。
In your project settings check for the valid architectures. You need to include both armv6 and armv7 architectures.
检查目标设备系列并确保您分发到的设备包含在设置中
Check the Targeted Device Family and make sure the device your distributing to is included in the settings
请通过设置部署目标进行检查。
Please check it with setting deployment target.