如何设置我的 Base SDK?
我希望能够支持 iOS 3.x 用户。
当我尝试在项目信息中设置基础 SDK 时,出现的唯一 SDK 是 iOS 4.1 和 iOS 3.2。
如何添加额外的 SDK,以便在我的应用程序登陆 App Store 时为老用户提供支持?
I want to be able to support iOS 3.x users.
When I try to set the Base SDK in Project Info, the only SDK that appears is iOS 4.1 and iOS 3.2.
How can I add additional SDK's so I can support older users when my app hits the App Store?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以在项目信息中选择部署目标;
You can select the deployment target in your project info;
在同一设置面板中查找 iOS 部署目标。另外,请注意早期操作系统版本中不可用的方法。
Look for the iOS Deployment Target in the very same settings panel. Also, be careful about methods not available in earlier OS versions.
你被骗了。苹果将顶部可见的 Base SDK 设置为几乎无用的设置。相反,有用的设置是隐藏的,您必须向下滚动才能找到它:iOS 部署目标,您可以在其中设置您希望能够加载应用程序的最低级别的操作系统。
Apple 还取消了确定您是否使用与旧版部署目标操作系统不兼容的任何 API 的任何功能,除了保留可以运行旧版本操作系统的设备之外。
因此,请忽略 Base SDK(除了确保将其设置为合法设置之外)。将部署目标设置为您想要的。并在部署目标级别的实际设备上进行测试。
You've been tricked. Apple made the top visible Base SDK a nearly useless setting. Instead the useful setting is hidden where you have to scroll down to find it: the iOS Deployment Target, where you set the lowest level of OS which you want to be able to load your app.
Apple also removed any ability to determine whether you are using any API incompatible with an older Deployment Target OS other than keeping a device around which can run an old version of the OS.
So, ignore Base SDK (other than making sure it's set to a legal setting). Set the Deployment Target to what you want. And test on an actual device at the Deployment Target level.