XCode 3.2 未检测到 iPhone SDK 3.0
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/998551/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iPhone SDK 3.0 not detected by XCode 3.2
提问by curagea
I have the latest XCode (3.2) running on Snow Leopard, and also have the iPhone 3.0 SDK installed. After XCode was installed, I can't create a new iPhone project with it. There are no iPhone options in the New window, nor is the OS listed anywhere in the Overview dropdown. My only option at this point seems to be downgrading to XCode 3.1, though I've seen 3.2 work perfectly with iPhone 3.0 at WWDC.
我在 Snow Leopard 上运行了最新的 XCode (3.2),并且还安装了 iPhone 3.0 SDK。安装 XCode 后,我无法用它创建新的 iPhone 项目。新窗口中没有 iPhone 选项,概览下拉菜单中也没有列出操作系统。目前我唯一的选择似乎是降级到 XCode 3.1,尽管我在 WWDC 上看到 3.2 与 iPhone 3.0 完美配合。
回答by Nathan de Vries
You must install the Snow Leopard version of the iPhone SDK (iphone_sdk_3.0_gm_seed__snow_leopard.dmg
), not the Leopard copy (iphone_sdk_3.0_gm_seed__leopard__9m2736.dmg
). My suggestion would be to run the following, and then install the Snow Leopard copy of the SDK again:
您必须安装 iPhone SDK 的 Snow Leopard 版本 ( iphone_sdk_3.0_gm_seed__snow_leopard.dmg
),而不是 Leopard 副本 ( iphone_sdk_3.0_gm_seed__leopard__9m2736.dmg
)。我的建议是运行以下命令,然后再次安装 SDK 的 Snow Leopard 副本:
sudo /Developer/Library/uninstall-devtools --mode=all
回答by curagea
iPhone SDK for iPhone OS 3.1 beta 3 provides support for developing applications for iPhone OS 3.1. This developer preview of iPhone SDK for Snow Leopard installer includes only the SDK components for iPhone OS development, and requires that Xcode 3.2 already be installed on Mac OS X 10.6 Snow Leopard.
iPhone OS 3.1 beta 3 的 iPhone SDK 支持为 iPhone OS 3.1 开发应用程序。此用于 Snow Leopard 安装程序的 iPhone SDK 开发人员预览版仅包含用于 iPhone OS 开发的 SDK 组件,并且要求 Xcode 3.2 已安装在 Mac OS X 10.6 Snow Leopard 上。