简体   繁体   English

如何获得支持3.x iPhone应用程序(带有最新版本的Xcode)的基本SDK?

[英]How can I get a base SDK that supports 3.x iPhone apps w/ the latest build of Xcode?

I'm about to push my app to the app store and wanted to make sure that the base SDK is 3.x friendly. 我即将将我的应用程序推送到应用程序商店,并希望确保基本SDK是3.x友好的。 I know that if my app is tested using the 4.2 base SDK (deployment 3.1.3) but when do the final distribution build for the app store won't the app "require" 4.2 if that is my base SDK? 我知道,如果使用4.2基本SDK(部署3.1.3)对我的应用进行了测试,但是何时为应用商店构建最终发行版,应用将“不需要” 4.2是否是我的基本SDK?

If it is - how can I get an app to the app store that works on both 3.x and 4.x phones? 如果是,我如何才能将一个应用程序同时运行在3.x和4.x手机上的应用程序商店中?

Thank you in advance 先感谢您

No, if you set your deployment target to 3.1.3, then you can run on 3.1.3. 不,如果将部署目标设置为3.1.3,则可以在3.1.3上运行。 You should however, always test your builds before you submit on your target iOS versions. 但是,在提交目标iOS版本之前,应该始终测试构建。 Never just assume it'll work because you've set that field. 永远不要仅仅假设它会起作用,因为您已经设置了该字段。

Also remember that because your base sdk is set to 4.2, and that will give you access to 4.0, 4.1, etc APIs, you should always ensure you're only using APIs common to your lowest version you want to be supported, in this case 3.1.3. 还要记住,因为您的基本sdk设置为4.2,并且可以访问4.0、4.1等API,所以在这种情况下,应始终确保仅使用最低版本希望使用的通用API。 3.1.3。 The SIM and your 4.x devices may not give you any indication you're using an API that's not supported on 3.1.3. SIM和您的4.x设备可能没有任何提示,表明您正在使用3.1.3不支持的API。

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

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