Browse Source

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

Fixes https://github.com/libsdl-org/SDL/issues/15167
Sam Lantinga 1 ngày trước cách đây
mục cha
commit
6466c10ae4
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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.
 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:
 To use the library once it's built, you essential have two possibilities:
 use the traditional autoconf/automake/make method, or use Xcode.
 use the traditional autoconf/automake/make method, or use Xcode.