简体   繁体   English

升级到SDK 4.1,并且不再可以在装有OS 4.0的设备上安装

[英]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.

相关问题 升级到SDK 4.1,无法再为iOS 4.0构建 - Upgraded to SDK 4.1 and can no longer build for iOS 4.0 iPhone CoreLocation框架在带有Simulator 4.1的XCode SDK 3.2.4和带有Simulator 4.0.X的XCode SDK 3.2.3以及带有OS 4.1的iTouch设备上不起作用 - iPhone CoreLocation framework not working on XCode SDK 3.2.4 with Simulator 4.1 and XCode SDK 3.2.3 with Simulator 4.0.X and iTouch device with OS 4.1 基本的SDK 4.0丢失了,但是我刚刚安装了4.1,如何测试4.0? - Base SDK 4.0 missing but i just installed the 4.1, how can i test for 4.0? v4.0的Base-SDK意味着它不会安装在4.1或4.2设备上? - Base-SDK of v4.0 means it won't install on 4.1 or 4.2 devices? 无法将旧的iOS“ iOS 4.0-4.1设备调试支持”安装到Xcode 4.2 - Cannot install old iOS “iOS 4.0 - 4.1 Device Debugging Support” to Xcode 4.2 iOS SDK 4.0和4.1将图像添加到模拟器 - iOS SDK 4.0 & 4.1 add images to simulator 我们可以在iPhone OS 3中安装iPhone SDK 4吗 - Can we install iPhone SDK 4 in iPhone OS 3 用ios sdk 4制作的应用程序是否安装在带有操作系统4.2的设备上? - Does an app that made with ios sdk 4 install on device with os 4.2? 使用sdk 4.0.1创建的应用程序不会安装在带有操作系统4.2的设备上 - An app that made with sdk 4.0.1 doesn't install on device with os 4.2 Singleton类适用于4.0 iOS和更早版本,但不适用于4.1和4.2 SDK - Singleton class working on 4.0 iOS and earlier version but not on 4.1 and 4.2 SDK
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM