NSBluetoothAlwaysUsageDescription required, but bluetooth is not used

前端 未结 10 1874
青春惊慌失措
青春惊慌失措 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条回答
  •  攒了一身酷
    2021-01-01 19:07

    In my case, I wasn't using any bluetooth related API but app was crashing because of this. And I found out that Google Mobile Ads was using bluetooth. I made sure of this by removing it from pods and rerunning the app. (I think we all should ask Google to why they need bluetooth to show mobile ads)

    Anyways, you can stop your app from crashing by adding NSBluetoothAlwaysUsageDescription to your plist for now.

提交回复
热议问题