IOS & Bluetooth

Hi,
with lime 7.8.0 my ios app crashes at the start with:

his app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSBluetoothAlwaysUsageDescription key with a string value explaining to the user how the app uses this data.

I’m not using bluetooth and i don’t want to use it :thinking:

Try something like this in your [APP]-Info.plist

<key>NSBluetoothAlwaysUsageDescription</key>
<string>$(PRODUCT_NAME) Bluetooth use</string>

That helps to prevent the crash, but the user is still asked if the app is allowed to use bluetooh. Which should not be the case for a game app :confused:

Well, if it happens it’s because your app is actually using bluetooth. Most probably it’s a third party library you’re pulling in

I will have a look, but i did not change any lib, it was working before and stopped working after updating lime and haxelib

Looks like it came in here: https://github.com/haxelime/lime/commit/43666e816d3fd5840dc0858aae420f940e30d4e9

Possible a fix after the SDL update? @singmajesty could you give us a hint?

But am i the only one with this problem? :thinking:

I’m still with Lime 7.7.0, so can’t say, if I have this problem.
Can you just switch back?