Base SDK Missing,apple fix not fly - > XCode Base SDK弹出窗口仅显示iphoneos,但我期待看到最新的IOS(...)

时间:2013-09-09 13:59:27

标签: iphone ios xcode sdk

当我下载UICatalog演示并在finder中点击UICatalog.xcodeproj文件时,我得到了BASE SDK缺失/错误:没有名称或路径为'iphoneos'的SDK

这个苹果修好了 https://developer.apple.com/library/ios/qa/qa1701/_index.html

enter image description here说我应该将Base SDK设置为最新的IOS(目前设置为iOS 4.2),但我只能将iphoneos作为可能的选项。

enter image description here 我找到了这个其他链接

https://developer.apple.com/library/ios/documentation/developertools/conceptual/cross_development/Configuring/configuring.html

说我应该在/ Developer / SDKs目录中看到SDK,但这就是我所拥有的:

ray:/Developer/SDKs> ls
MacOSX10.4u.sdk MacOSX10.5.sdk  MacOSX10.6.sdk
ray:/Developer/SDKs> cd ..
ray:/Developer> ls Platforms/
MacOSX.platform

我最近下载了。 XCode.Version 4.6.3(4H1503)

提前致谢。

2 个答案:

答案 0 :(得分:0)

enter image description here是的,下载示例代码时会发生这种情况。不要紧张。您可以在较新版本的xcode中单击验证设置,在较旧版本的xcode中,您可以在架构设置下手动更新它,但可能需要一些摆弄。

enter image description here

答案 1 :(得分:0)

在其他答案/评论的帮助下,我注意到我没有使用正确版本的XCode。

当我在finder中双击项目文件(UICatalog.xcodeproj)时,它默认打开了旧版本的xcode(版本3.2.6)。要解决这个问题,我右键单击xcodeproj文件,然后“打开”,发现有两个版本的xcode可用。在我选择最新版本的xcode.app(版本4.6.3)后,一切都很好。