/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
- Link the desired
SDK
to the MacOSX.sdk
:
sudo ln -s MacOSX.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
- Check if the correct path is set:
xcrun --sdk macosx --show-sdk-path
2024-10-30 11:41:23.780 xcodebuild[73944:1257812] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk; its version (10.9) is below required minimum (13.0) for the macosx platform.
2024-10-30 11:41:25.042 xcodebuild[73947:1257835] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk; its version (10.9) is below required minimum (13.0) for the macosx platform.
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk
- Replace the minimum SDK version:
sudo plutil -replace MinimumSDKVersion -string 10.6 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist
- Select
macOS
in the SDK
list.