Skip to content

Add bluetooth permissions in Info.plist

Feature Request

Summary

I would like two entries to be added to the iTerm2 Info.plist. If you write a command line program that uses Bluetooth, you get an error. You have to add "Bluetooth" in Security and Privacy. However, I don't think it does the same as adding both entries to the plist.

<key>NSBluetoothAlwaysUsageDescription</key>
<string>We use bluetooth to connect to nearby bluetooth Devices</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Bluetooth is used to connect to user devices</string>

Note: After installation of the plist entries, iTerm must be re-started.

Alternatives

An end user can add these two items to the Info.plist after the fact, but every time the app is updated, the user would have to add the entries.

Concerns

  • Privacy: Might need to check the "uses Bluetooth" if distribute app via Apple app store.
  • Performance: none
  • Memory: none
  • Complexity: simple
  • Is this an instance of a more general problem? I don't think so.