简体   繁体   English

iPhone / Xcode:针对正确的iPhone操作系统

[英]iPhone/ Xcode: Targeting the right iPhone OS's

Background: I have Xcode 3.2.3 installed and want to distribute a project, ideally to a variety of iPhone (iPod Touch?) devices, including older ones. 背景:我已经安装了Xcode 3.2.3,并且想要分发一个项目,最好是分发到各种iPhone(iPod Touch?)设备上,包括较旧的设备。 When choosing Project -> Build -> Base SDK I'm seeing the options "iPhone Device 4.0" and "iPhone Device 3.2" (no more 3.1.x, though IIRC it was in in the previous version of Xcode, before I downloaded the latest one after iOS4). 当选择Project-> Build-> Base SDK时,我看到选项“ iPhone Device 4.0”和“ iPhone Device 3.2”(不再是3.1.x,尽管IIRC是在Xcode的早期版本中),然后才下载了iOS4之后的最新版本)。

Question: How can I set my deployment target to say iPhone OS 3.0 or 3.1? 问题:如何将部署目标设置为iPhone OS 3.0或3.1? Or what should I do? 或者我该怎么办?

Set the Base SDK to 4.0 and the Deployment Target to 3.0. 将基本SDK设置为4.0,将部署目标设置为3.0。 As long as you don't use any of the new 4.0 functionality your app will run fine on a 3.0 device. 只要您不使用任何新的4.0功能,您的应用就可以在3.0设备上正常运行。 Or get a copy of the 3.0/3.1 SDK (if you can find it, don't know if Apple keeps them around for download somewhere) and install it to a separate directory. 或获取3.0 / 3.1 SDK的副本(如果可以找到,则不知道Apple是否将它们保留在某个地方以供下载)并将其安装到单独的目录中。

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

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