Explorar o código

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 6466c10ae4eb11c961d2d97e32c2fac9d3f0b1c6)
Sam Lantinga hai 17 horas
pai
achega
b7e1f88db8
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      docs/README-macos.md

+ 4 - 0
docs/README-macos.md

@@ -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.