From 103073d694fa72cdb49f77dff86f267be2bb22c2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 3 Aug 2023 12:56:46 -0700
Subject: [PATCH] Set NSBluetoothAlwaysUsageDescription for testcontroller
This allows testing Steam Controller support on iOS/tvOS, once you enable SDL_JOYSTICK_HIDAPI in SDL_build_config_ios.h
---
Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj
index a93cd4f83ba9..2642bca14ce8 100644
--- a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj
+++ b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj
@@ -4289,6 +4289,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_KEY_NSBluetoothAlwaysUsageDescription = "Steam Controller support";
PRODUCT_NAME = testcontroller;
PROVISIONING_PROFILE_SPECIFIER = "";
};
@@ -4299,6 +4300,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_KEY_NSBluetoothAlwaysUsageDescription = "Steam Controller support";
PRODUCT_NAME = testcontroller;
PROVISIONING_PROFILE_SPECIFIER = "";
};