在 Xcode 中更改基础 SDK

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12728517/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:42:41  来源:igfitidea点击:

Changing the base SDK in Xcode

iosxcode

提问by Tiago Veloso

I am using Xcode 4.5. I developing an iOS app, I am targeting iOS 5.1.

我正在使用 Xcode 4.5。我正在开发一个 iOS 应用程序,我的目标是 iOS 5.1。

I want to change the Base SDK to iOS 5.1, but it only displays iOS 6.

我想将 Base SDK 更改为 iOS 5.1,但它只显示 iOS 6。

Where have all the others go?

其他人都去哪儿了?

采纳答案by Mike Weller

You should always use the latest SDK. If you want to target older iOS versions, change the Deployment Targetsetting to the minimum iOS version you want to support.

您应该始终使用最新的 SDK。如果您希望针对较旧的 iOS 版本,请将部署目标设置更改为您希望支持的最低 iOS 版本。