I am trying to do a build of Cyanogenmod, that outputs the error:
Can not find SDK at /Developer/SDKs/MacOSX.sdk
However, the /Developer/SDKs
directory does not even exist. I know that most of the libraries have been moved to Applications/Xcode.app/Contents/
, but I don't know where to look. What is this MacOSX.sdk file? Where can I find it?
Also note that the wiki of Cyanogenmod says that I should Install the Mac OS X Developer Tools from my DVD, but I upgraded to Mavericks with the App Store. What do they mean by Developer Tools? I do have things like make
and gcc
(Command line tools in Xcode).
This is the wiki page I found the instruction to install dev tools from DVD:
http://wiki.cyanogenmod.org/w/Template:Build_on_Mac_OS_X#Install_Developer_Tools
Best Answer
As mentioned by Mark in the comments the instructions are made for older versions of Xcode.
In my opinion you can simply link a MacOSX sdk to /Developer/SDKs:
additionally you can add a link named MacOSX10.6.sdk
Another tip is to edit build/core/combo/mac_version.mk and changing: mac_sdk_versions_supported := 10.6 10.7 10.8 to mac_sdk_versions_supported := 10.6 10.7 10.8 10.9 10.10
I strongly recommend to use a virtual machine (Mountain Lion) and an older Xcode version (4.6.3). This version as well as all other versions are freely available with an Apple ID at Downloads for Apple Developers