From 0c87c2ecf3b4f86827dbf2abd1f648dd1cdf8ebb Mon Sep 17 00:00:00 2001 From: Salman Alshamrani Date: Wed, 18 Dec 2024 05:05:45 -0500 Subject: [PATCH] Exclude HIDAPI support on iOS to avoid `CoreBluetooth` references --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8050585..482deb6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,6 +89,9 @@ jobs: with: submodules: true + - name: Disable CoreBluetooth + run: echo "#define SDL_HIDAPI_DISABLED 1" >> External/SDL/include/build_config/SDL_build_config_ios.h + - name: Build (iOS) run: xcodebuild -project External/SDL/Xcode/SDL/SDL.xcodeproj -target SDL3.xcframework -configuration Release