Skip to content

Commit

Permalink
Fixed bug 4299 - A recent change requires Core Bluetooth framework on…
Browse files Browse the repository at this point in the history
… 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 ed1d855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_config_iphoneos.h
Expand Up @@ -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

Expand Down

0 comments on commit ed1d855

Please sign in to comment.