简体   繁体   English

Xcode 4.2 Beta:我可以为 iOS 4.x 构建吗?

[英]Xcode 4.2 Beta: Can I build for iOS 4.x?

In my iOS project using Xcode 4.2, all targets are showing Latest iOS (iOS 5.0) in the build settings, and I have no other available options.在我使用 Xcode 4.2 的 iOS 项目中,所有目标都在构建设置中显示Latest iOS (iOS 5.0) ,我没有其他可用选项。 Can I deploy to a device running iOS 4.x using Xcode 4.2 Beta, and if so how?我可以使用 Xcode 4.2 Beta 部署到运行 iOS 4.x 的设备上吗?如果可以,怎么做?

Note : I'm only interested in ARC at this time, otherwise I'd be using 4.02 (Snow Leopard).注意:我现在只对 ARC 感兴趣,否则我会使用 4.02 (Snow Leopard)。

Are you looking at the "Base SDK" setting or the "iOS Deployment Target".您是在查看“Base SDK”设置还是“iOS 部署目标”。 You want to build against the "Latest" SDK, but set the deployment target to the minimum supported iOS version.您想针对“最新”SDK 进行构建,但将部署目标设置为支持的最低 iOS 版本。

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

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