简体   繁体   English

如何在xcode中将“ iPhone Device 2.2.1”列为活动的SDK之一?

[英]How do I get 'iPhone Device 2.2.1' listed as one of my active SDKs in xcode?

I just installed xcode on a snow leopard machine. 我刚刚在雪豹机器上安装了xcode。 I am wanting to compile and iPhone app with the 2.2.1 SDK. 我想使用2.2.1 SDK编译iPhone应用程序。

Under Project > Edit Project Settings I have the option for the base SDK to be "iPhone Device 2.2.1" but I'm not getting that setting as an option for my Active SDK... 在“ Project > Edit Project Settings我可以将基本SDK的选项Project > Edit Project Settings为“ iPhone Device 2.2.1”,但我没有将该设置作为Active SDK的选项...

What do I need to do so I can get iPhone Device 2.2.1 listed as one of my active SDKs? 我需要怎么做才能将iPhone Device 2.2.1列为我的活动SDK之一?

Thanks 谢谢

To target a 2.2.1 (on Snow Leopard) you have to change your project's “iPhone OS Deployment Target.” 要定位2.2.1(在Snow Leopard上),您必须更改项目的“ iPhone OS部署目标”。

It's a bit hidden in the properties of the Project (under Deployment), but here you can select 2.x. 它有点隐藏在项目的属性中(在“部署”下),但是在这里您可以选择2.x。

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

相关问题 如何获得Xcode 3.2的iPhone SDK 2.2.1? - How to get iPhone SDK 2.2.1 for Xcode 3.2? iPhone模拟器和设备未在Xcode“编辑项目设置”的“基本SDK”中列出 - iphone simulators and devices are not listed at 'Base SDKs' on Xcode 'edit project settings' [iPhone Xcode]如何获取模拟器/设备上资源的路径? - [iPhone Xcode]How can I get path to resource on simulator/device? 如何在一台Mac上设置2个iPhone SDK - How to setup 2 iPhone SDKs on one Mac 如何在不使用GPS或定位服务的情况下获取我的iPhone设备国家代码? - how do i get my iPhone device country code without using GPS or location service? 如何获得与iTunes商店中列出的iPad上的iPad一样运行良好的iPhone应用程序? - How do I get an iPhone app that works really well as is on the iPad listed for iPad on the iTunes store? 如何在 iphone 的共享菜单中列出我的 ionic 应用程序? - How to get listed my ionic app in the share menu in iphone? 如何在XCode中找到错误? (iphone项目) - How do I find my error in XCode? (iphone project) 如何在我的iphone xcode项目中添加html页面? - how do i add html page in my iphone xcode project? iPhone 4更新到iOS5,手机未在XCode中列为设备 - iPhone 4 updated to iOS5, phone is not listed as a device in XCode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM