objc2swift
objc2swift copied to clipboard
Do not hardcode SDK version in config file
The macOS config files reference MacOSX10.11.sdk by default, e.g.
"${Xcode.app}/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include"
but they should not reference a specific version. Instead they should use MacOSX.sdk as in
"${Xcode.app}/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
Xcode always only ships with one SDK per platform for years and that (latest) SDK is always MacOSX.sdk. The versioned variants, like MacOSX15.2.sdk or MacOSX15.sdk are just symlinks to this latest SDK.