gpt4 book ai didi

xamarin - 使用 Telerik 库后缺少带有目的字符串的 NSCalendarsUsageDescription 键

转载 作者:行者123 更新时间:2023-12-02 00:18:12 26 4
gpt4 key购买 nike

我在我的表单项目中使用了 Telerik ListView 。昨天,我通过 Test Flight 将其上传到 App Store connect。它是从应用程序加载器上传的,但被苹果拒绝,邮件如下:

应用商店连接

Dear Developer, We identified one or more issues with a recent delivery for your app, "Local183". Please correct the following issues, then upload again. "Missing Purpose String in Info.plist File. Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCalendarsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy)."

Best regards,

The App Store Team

我没有在代码中的任何地方使用任何日历访问代码,但他们仍然提出了这样的问题,我不知道为什么?但在实现 Telerik 之前从未发生过这种情况,因为我已经将应用程序的 2-3 个版本上传到应用程序商店连接,并且从未失败。

最佳答案

嗯,其实很简单。

您的应用程序 (PCL) 必须引用 Telerik.XamarinForms.Input,因为您的 PCL 正在使用此 dll,苹果假定您已在应用程序中使用它,因此必须具有从他们这边拒绝了

如何解决这个问题

首先,如果 Apple 认为您需要日历权限,那么您就需要日历权限,您无能为力

如何添加权限在您的 info.plist 文件中添加以下权限:

<key>NSCalendarsUsageDescription</key>
<string>*your_app_name* would like to access your calender</string>

添加后一切都应该没问题

如果查询恢复。

关于xamarin - 使用 Telerik 库后缺少带有目的字符串的 NSCalendarsUsageDescription 键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52112232/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com