[英]Upgraded to SDK 4.1 and can no longer install on device with OS 4.0
Each time a new SDK came out, there has been the problem with the "Base SDK" which is really a "max SDK" and backward compatible. 每次出现新的SDK时,“基本SDK”都会出现问题,它实际上是“最大SDK”并向后兼容。 My project builds fine after adjusting the "Base SDK" in the Project Info.
在调整项目信息中的“基本SDK”后,我的项目构建良好。
But why do I get these messages on the console below the Target Info window when I change the "iOS Deployment Target" to iOS 4.0? 但是,当我将“ iOS部署目标”更改为iOS 4.0时,为什么在控制台上的“目标信息”窗口下方会收到这些消息?
"iOS 4.0 - Code will not load on systems earlier than 4.0. [4.0]" and "iOS 4.1 - Code will not load on systems earlier than 4.1. [4.1]"
The code did not change since the last successful install on iOS 4.0 under iOS 4.0 SDK. 自从上一次在iOS 4.0 SDK下成功在iOS 4.0上成功安装以来,代码没有更改。
The project builds without error, but the installation on the device (iOS 4.0) fails with 该项目的构建没有错误,但是在设备(iOS 4.0)上的安装失败并显示
The Info.plist for application [path/to/app.app] specifies a minimum OS version of 4.1 which is too high to be installed on [device].
But there is no mention of a minimum OS version in [project]-Info.plist. 但是[project] -Info.plist中没有提到最低操作系统版本。
Any ideas? 有任何想法吗?
Did you change the iOS Deployment Target in both your Project and Target Build Settings? 您是否在项目和目标构建设置中都更改了iOS部署目标? If you only change the project setting, an old target setting will override it.
如果仅更改项目设置,则旧的目标设置将覆盖它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.