Added documentation to fix building on macOS with Xcode 12.2 (thanks @buhman!)

Fixes https://github.com/libsdl-org/SDL/issues/15167

(cherry picked from commit 6466c10ae4)
This commit is contained in:
Sam Lantinga
2026-04-01 16:37:14 -07:00
parent 8af454a0a1
commit b7e1f88db8

View File

@@ -32,6 +32,10 @@ sudo cmake --install .
Please note that building SDL requires at least Xcode 12.2 and the macOS 11.0 SDK.
If you are getting errors building SDL_mfijoystick.m with Xcode 12.2, find your SDKs
directory and move MacOSX10.15.sdk out of the way so it isn't accidentally being used
by the build environment.
To use the library once it's built, you essential have two possibilities:
use the traditional autoconf/automake/make method, or use Xcode.