[英]App rejected because of missing Info.plist key
I try to add my app to app store. 我尝试将我的应用添加到应用商店。 I submitted the app, but it was rejected (
metadata rejection
). 我提交了该应用程序,但被拒绝了(
metadata rejection
)。 I got an message that they found camera usage in info.plist
but that they do not know where I use the camera . 我收到一条消息,他们在
info.plist
找到了相机的用法,但他们不知道我在哪里使用相机。
I explained them where I use the camera and that was ok. 我向他们解释了我在哪里使用相机,没关系。 But then is the app rejected because of missing Info.plist key .
但是随后由于缺少Info.plist键 ,应用被拒绝了。 The missing keys are
NSCalendarsUsageDescription
and NSBluetoothPeripheralUsageDescription
. 缺少的键是
NSCalendarsUsageDescription
和NSBluetoothPeripheralUsageDescription
。 But the problem is that my app doesn't use any of those two. 但是问题是我的应用程序没有使用这两个。 Maybe some of the dependencies??
也许一些依赖??
I can add key value
pair to info.plist
. 我可以将
key value
对添加到info.plist
。 For example 例如
<key>NSCalendarsUsageDescription</key>
<string>$(PRODUCT_NAME) needs to use your calendar.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>$(PRODUCT_NAME) needs to use your bluetooth.</string>
But what if I get the same question as for the camera? 但是,如果我收到与相机相同的问题怎么办? I can't answer on it, because I do not know which of my dependencies uses bluetooth or calendar.
我无法回答,因为我不知道哪个依赖项使用蓝牙或日历。
Does anyone know how can I check what attempts to access privacy-sensitive data (in this example NSCalendarsUsageDescription
and NSBluetoothPeripheralUsageDescription
)? 有谁知道我该如何检查尝试访问对隐私敏感的数据(在本示例中为
NSCalendarsUsageDescription
和NSBluetoothPeripheralUsageDescription
)?
使用该应用程序时,当该应用程序尝试访问任何日志时,它应显示在日志中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.