LibGDX 应用因不包含 NSCalendarsUsageDescription 而被 AppStore 拒绝
LibGDX app refused at AppStore for not including NSCalendarsUsageDescription
我终于为 iPhone 部署了我的应用程序,现在我已上传到 iTunes Connect,我收到了来自 Apple 的消息:
We have discovered one or more issues with your recent delivery for
"App name". To process your delivery, the following issues must be
corrected:
This app attempts to access privacy-sensitive data without a usage
description. The app's Info.plist must contain an
NSCalendarsUsageDescription key with a string value explaining to the
user how the app uses this data.
所以要么我需要添加 NSCalendarsUsageDescription
键,但我不知道为什么 LibGDX 试图访问用户的日历,或者我应该以某种方式删除访问此资源的代码我没用。
有人解决了吗?我正在使用 RoboVM 为 iOS.
进行部署
只需在 info.plist 中添加密钥。如果 LibGDX 尝试访问日历,将弹出一个警报视图,其中包含您为该键输入的文本。因此,在添加密钥后,只需遍历整个应用程序一次,并检查您是否在任何地方收到警报。如果不是,那么您可以保留密钥的任何值。如果您确实看到了警报,请尝试确定其尝试访问日历的原因并相应地更新键值。
我终于为 iPhone 部署了我的应用程序,现在我已上传到 iTunes Connect,我收到了来自 Apple 的消息:
We have discovered one or more issues with your recent delivery for "App name". To process your delivery, the following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.
所以要么我需要添加 NSCalendarsUsageDescription
键,但我不知道为什么 LibGDX 试图访问用户的日历,或者我应该以某种方式删除访问此资源的代码我没用。
有人解决了吗?我正在使用 RoboVM 为 iOS.
进行部署只需在 info.plist 中添加密钥。如果 LibGDX 尝试访问日历,将弹出一个警报视图,其中包含您为该键输入的文本。因此,在添加密钥后,只需遍历整个应用程序一次,并检查您是否在任何地方收到警报。如果不是,那么您可以保留密钥的任何值。如果您确实看到了警报,请尝试确定其尝试访问日历的原因并相应地更新键值。