xcode Mac 10.8.2 上缺少开发人员 SDK
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15231969/
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
Missing developer SDK's on Mac 10.8.2
提问by roundtheworld
I recently upgraded from 10.6.8 to 10.8.2. I need to compile software that uses the 10.7 SDK. However, whenever I go into /Developer/SDKs/
all I see are: MacOSX10.4u.sdk, MacOSX10.5.sdk, and MacOSX10.6.sdk. I'm hoping I'd have at least MacOSX10.7.sdk, but it's non-existent. I'm not sure if this is relevant, but I'm using Xcode 4.6.
我最近从 10.6.8 升级到 10.8.2。我需要编译使用 10.7 SDK 的软件。但是,每当我进入时,/Developer/SDKs/
我看到的都是:MacOSX10.4u.sdk、MacOSX10.5.sdk 和 MacOSX10.6.sdk。我希望至少有 MacOSX10.7.sdk,但它不存在。我不确定这是否相关,但我使用的是 Xcode 4.6。
Anyone know how to get the newer SDK's or at least explain why mine are missing?
任何人都知道如何获得较新的 SDK 或至少解释为什么我的 SDK 不见了?
采纳答案by paulmelnikow
In more recent versions of Xcode they're inside the app bundle:
在较新版本的 Xcode 中,它们位于应用程序包中:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
回答by Gabe Rainbow
you upgraded the os, but not the xcode. so those are your initial sdks.
您升级了操作系统,但没有升级 xcode。所以这些是你的初始 sdk。
i would also like to know where to get the sdk only. xcode 4.+ sucks memory and crashes a lot.
我也想知道只从哪里获得 sdk。xcode 4.+ 占用内存并经常崩溃。