简体   繁体   English

如何使用Xcode 3.2测试iPhone 3.0设备?

[英]How can I test an iPhone 3.0 device with Xcode 3.2?

I hope it's a simple one. 我希望这是一个简单的。 I have a fresh install of Snow Leopard. 我有一个全新的Snow Leopard。 I've installed the iPhone 3.1 SDK from the Apple Website, which includes Xcode 3.2. 我已经从Apple网站安装了iPhone 3.1 SDK,其中包括Xcode 3.2。 I all works fine, but in "Project > Set Active SDK" menu item, I can only find "iPhone Device 3.1" and "iPhone Simulator 3.1". 我一切正常,但在“Project> Set Active SDK”菜单项中,我只能找到“iPhone Device 3.1”和“iPhone Simulator 3.1”。

Now, I'd like to test my app with an iPhone 3.0. 现在,我想用iPhone 3.0测试我的应用程序。 How can I make it? 我该怎么做? Can I download just the iPhone 3.0 SDK, without having to reinstall Xcode 3.1? 我可以下载iPhone 3.0 SDK,而无需重新安装Xcode 3.1吗? I cannot find anything like this to download on the Dev Center. 我在Dev Center上找不到这样的东西。

Hold down option while clicking the top left bar. 单击左上角的栏时按住选项。 It brings up all installed SDK's 它会显示所有已安装的SDK

Go to Project->Edit Project Settings. 转到项目 - >编辑项目设置。 Under the General tab change the "Base SDK for All Configurations" to iPhone Device 3.0. 在“常规”选项卡下,将“所有配置的基本SDK”更改为iPhone设备3.0。 Now you can select iPhone OS 3.0 SDK's as well. 现在您也可以选择iPhone OS 3.0 SDK。

When you install Xcode 3.2 on Snow Leopard, the installer gives you the option to install both the 3.0 and 3.1 SDK. 在Snow Leopard上安装Xcode 3.2时,安装程​​序会为您提供安装3.0和3.1 SDK的选项。 Try launching the installer and installing just the missing 3.0 SDK. 尝试启动安装程序并仅安装缺少的3.0 SDK。 You should be able to do that without reinstalling the whole Xcode 3.2 你应该能够做到这一点,而无需重新安装整个Xcode 3.2

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

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