简体   繁体   English

最低操作系统版本不正确

[英]Minimum OS version incorrect

I've got my deployment target set to iOS 4.0 and yet when it's all compile the value is 3.1. 我已经将部署目标设置为iOS 4.0,但是当全部编译时,该值为3.1。 WTF? WTF?

Anyone know what's going on here? 有人知道这是怎么回事吗?

Settings like this can be set in multiple places. 这样的设置可以在多个位置进行设置。 Check that your target setting is correct: it'll override the project setting. 检查您的目标设置是否正确:它将覆盖项目设置。

Application settings can be set on the project (typically the blue icon at the top of your Xcode drawer) but also can be overridden in individual application Targets (the little red bullseye icon). 可以在项目上设置应用程序设置(通常是Xcode抽屉顶部的蓝色图标),但也可以在单个应用程序目标中覆盖它(红色的红色靶心图标)。 Settings applied to the project are kind of like global settings. 应用于项目的设置有点像全局设置。 You can change the global settings in different targets though. 您可以在其他目标中更改全局设置。 So check that you're not setting 3.1 in a target thus overriding your Project settings which you have set to 4.0. 因此,请检查您是否未在目标中设置3.1,从而覆盖了您已设置为4.0的项目设置。

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

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