NSBluetoothAlwaysUsageDescription required, but bluetooth is not used

前端 未结 10 1877
青春惊慌失措
青春惊慌失措 2021-01-01 18:28

In my ios app with new Xcode 11 GM Seed 2 after deploy, apple returned error: ITMS-90683: Missing Purpose String in Info.plist with NSBluetoothAlwaysUsageDe

10条回答
  •  Happy的楠姐
    2021-01-01 19:27

    I've tried Maurice's answer, with and without .framework extension, but did not find any reference to CoreBluetooth in my project. I also had previously in Info.plist file added: "Privacy - Bluetooth Peripheral Usage Description", with String Value: "App would like to use your bluetooth for communication purposes"". This didn't work either.
    Finally after seeing Chase Roberts's answer I added: "NSBluetoothAlwaysUsageDescription", with String value: "App would like to use your bluetooth for communication purposes". After that this error was not shown again for my app while publishing.

    Note: In warning for error: ITMS-90683, for my app was said that delivery was successful, but I can if I wish to make changes in regard to stated issue.

提交回复
热议问题