What's the real difference between Base SDK and Deployment Target or Deployment OS Version?

最后都变了- 提交于 2019-12-10 01:43:01

问题


Want to make sure I got that right:

Base SDK = What you're building against. If it's set to 4.1, then you build against the 4.1 SDK.

Deployment OS Version / Deployment Target = The lower end, or the oldest platform your app is aimed to support. If different than Base SDK or the SDK you build against, then you must do conditional checks so that older OS versions won't see a crash when your app calls something of newer ones, up to the Base SDK.

Is that correct?


回答1:


Yes, that's correct

To the run-time checks I would also add weak linking with the frameworks added in new SDK versions.



来源:https://stackoverflow.com/questions/3750468/whats-the-real-difference-between-base-sdk-and-deployment-target-or-deployment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!