简体   繁体   English

部署目标iOS 8.1将在iPhone 4 iOS 7.1.2上运行

[英]Will deployment target iOS 8.1 run on iPhone 4 iOS 7.1.2

If i publish an app in the App Store with deployment target 8.1 will it run on an iPhone 4 with iOS 7.1.2? 如果我在部署目标为8.1的App Store中发布了一个应用,它将在运行iOS 7.1.2的iPhone 4上运行吗? Or does this mean that my app will not be supported for iPhone 4 anymore? 还是这意味着iPhone 4将不再支持我的应用程序?

据我对Android历史记录的了解,您可以在目标版本或更高版本上运行它,因此对您的问题不存在。

Answer found in StackOverflow item StackOverflow项目中找到答案

The base SDK is what you build your app against (ie include and library files and frameworks). 基础SDK是构建应用程序所针对的基础(即,包含文件和库文件以及框架)。 As you say, it doesn't effect the deployment target, except that base sdk >= deployment target. 如您所说,除了基本sdk> =部署目标外,它不会影响部署目标。

You specify build settings on 2 levels as each project can have multiple targets and you might not want the same settings for all targets. 您可以在2个级别上指定构建设置,因为每个项目可以有多个目标,并且可能不希望所有目标都使用相同的设置。 The project-level settings override the default settings and the target-level settings override the project-level settings. 项目级设置覆盖默认设置,而目标级设置覆盖项目级别设置。

For example I have projects with both OSX and iOS targets and some are ARC and some are MRR. 例如,我有同时具有OSX和iOS目标的项目,有些是ARC,有些是MRR。 I'd have to have different projects for each if I was unable to specify build settings with the level of granularity that Xcode allows. 如果无法指定Xcode允许的粒度级别的构建设置,则每个项目都必须有不同的项目。

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

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