假设我将base SDK设置为7,这是什么意思?这可能意味着该应用程序将在 iOS 7 上运行。但这就是 iOS 部署目标的用途。
还有为什么我要在项目和目标中指定这 3 个值。这没有意义。为什么要指定两次相同的东西?
最佳答案
在 iOS 7 TechTalk , session Architecting Modern Apps,第 2 部分,他们清楚地解释了这一点
好读Hi! I'm #available!
So, a modern App might use iOS 9 as the Target SDK, and iOS 7 as the deployment target. This means that you can run on iOS 7, iOS 8 and iOS 9, and that you have available to you any iOS 9 calls when actually running on iOS 9.
您可以在我的帖子中阅读更多内容 SDK and Deployment Target
关于objective-c - xcode中Base SDK、iOS部署目标、Target、Project分别是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18568572/
相关文章:
objective-c - 使用 Objective-C 在 iOS 9 中将状态栏文本颜色更改为浅
objective-c - Objective-C 中的 "unrecognized selecto
objective-c - NSAttributedString 的 boundingRectWit
objective-c - Xcode 5 : Code signing entitlement e
ios - 从 UITableView 单元格内的 url 异步加载图像 - 滚动时图像更改为错误图