简体   繁体   English

如何使用XCode 3.1.3制作iPhone OS 2.2项目?

[英]How can I make an iPhone OS 2.2 project with XCode 3.1.3?

For some reason, after installing the iPhone OS 3.0 SDK, I have no option anymore to create a 2.2 project. 出于某种原因,在安装iPhone OS 3.0 SDK之后,我再也没有选择来创建2.2项目了。 I don't want to develop for 3.0 because I target iPod touch, not iPhone. 我不想为3.0开发,因为我的目标是iPod touch,而不是iPhone。 iPod touch users don't upgrade for 10 dollars so likely. iPod touch用户不会以10美元升级。

Xcode creates projects with OS 3.0, and there is no option to switch to 2.2 SDK. Xcode使用OS 3.0创建项目,并且没有选项可以切换到2.2 SDK。 Although for my existing projects I still can use 2.2 SDK in XCode. 虽然对于我现有的项目,我仍然可以在XCode中使用2.2 SDK。

How can I fix that? 我该如何解决这个问题?

The project is not really tied to an iPhone OS release, it's the "Base SDK" setting in your project. 该项目与iPhone OS版本并不紧密相关,它是项目中的“Base SDK”设置。 This is by default 3.0 in the new SDK. 这在新SDK中默认为3.0。

To use an older OS, open the project settings (double click on the blue project icon in the Groups & Files section in the project window). 要使用旧版操作系统,请打开项目设置(双击项目窗口中“组和文件”部分中的蓝色项目图标)。 Select the Build tab and chose another Base SDK in the Architectures section. 选择Build选项卡,然后在Architectures部分中选择另一个Base SDK。

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

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