The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key while the key is in the plist file

后端 未结 6 2009
忘掉有多难
忘掉有多难 2021-01-03 19:51

First of all, I would like to state that I already looked at Stack Overflow post here and adding either the one mentioned by either iCoder & Deepak didn\'t solve the pro

6条回答
  •  一生所求
    2021-01-03 20:25

    I can't figure out why the first time it wasn't working but when I got into the office today I saw the comment posted by Sumeet.Jain that suggested I should replace the

    NSBluetoothPeripheralUsageDescription key with the NSBluetoothAlwaysUsageDescription key

    This would actually result in an error that would say missing NSBluetoothPeripheralUsageDescription as we might expect it to. So then I re-added the NSBluetoothPeripheralUsageDescription to my info.plist and now I was finally able to upload my app to the store. Thanks for everyone that helped me.

    p.s. The only thing I can think of I did differently compared to yesterday is that I now added the key using Xcode instead of just editing the info.plist file in my editor I use for react-native. Hopefully this helps others as it helped me

提交回复
热议问题