Skip to content
Permalink
Browse files

Fixed bug 4299 - A recent change requires Core Bluetooth framework on…

… iOS

Caleb Cornett

Just ran into this, and from my testing, whatever re-added the dependency is a _major_ regression. Not only is your app forced to link with CoreBluetooth, but iOS has apparently tightened up security and won't even let you _test_ your app unless it specifies the NSBluetoothAlwaysUsageDescription in an Info.plist. It doesn't even pop up an error message, it just straight up crashes.

Adding the permission isn't a good solution either, since I'd really, really rather not have my app request users' bluetooth to always be enabled, especially if the only apparent reason is for Steam Controller support.
  • Loading branch information
slouken committed Apr 14, 2020
1 parent f34d2c6 commit ed1d855865315d8156014db9335a61451f421535
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/SDL_config_iphoneos.h
@@ -137,7 +137,7 @@
#define SDL_HAPTIC_DUMMY 1

/* Enable MFi joystick support */
#define SDL_JOYSTICK_HIDAPI 1
/*#define SDL_JOYSTICK_HIDAPI 1*/
#define SDL_JOYSTICK_MFI 1
#define SDL_JOYSTICK_VIRTUAL 1

0 comments on commit ed1d855

Please sign in to comment.