phracker/MacOSX-SDKs
关于
一系列令人头疼的 SDK 文件夹:从 MacOSX10.1.5.sdk 到 MacOSX11.3.sdk
开发工具实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- +2
- 1个月
- +5
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
探索相关项目
加载中…