我从App Store Connect获得: NSContactsUsageDescription和NSBluetoothAlwaysUsageDescription丢失, 但是当我锁定info.plist时,我会看到那些属性。
下一步我该怎么做? 想要调试或查找那些缺少属性的地方吗?
答案 0 :(得分:0)
在ios/[app-name]/Info.plist
中获得许可
<key>NSContactsUsageDescription</key>
<string>This app requires contacts access to function properly.</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>App uses Bluetooth to find, connect and communicate with nearby devices. Please grant access.</string>
请注意space
,您可以将Info.plist
作为源代码进行检查
如果您将iOS定位在13以下,则还需要添加NSBluetoothPeripheralUsageDescription