• Stars
    star
    2,543
  • Rank 18,046 (Top 0.4 %)
  • Language
  • Created about 11 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of those pesky SDK folders: MacOSX10.1.5.sdk thru MacOSX11.3.sdk

MacOSX-SDKs

10.1.5 - 11.3

A collection of those pesky SDK folders. Compiled from various releases of Xcode.

If you don't need this entire repository, each SDK is available here.

Outdated versions: mediafire / mega.co.nz / mediafire / mega.co.nz.

Important

Modern versions of Xcode (7.3+) need you to edit the MinimumSDKVersion in this file to use older SDKs: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist

Usage

Set the SDKROOT environment variable:

export SDKROOT=path-to-old-sdk

If you put an old SDK in a nonstandard path, Apple's hacks in /usr/bin which redirect to calling Apple's tools in the XCode installation may fail. If your build system fails to find the compiler, explicitly specify its path:

export CC="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
export CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"

If you are building a project with CMake, using the default Unix Makefile generator may fail to find the real make binary even if you put it in your $PATH before /usr/bin. To hack around this, install Ninja in your $PATH and use the Ninja CMake generator by running your CMake configure step with:

cmake -G Ninja -S project-root-dir -B build-output-dir