Apple 需要使用 Parse-iOS-SDK 对 info.plist 的 "NSLocationAlwaysUsageDescription" 描述

Apple requires "NSLocationAlwaysUsageDescription" description to info.plist with Parse-iOS-SDK

我将解析用于推送通知。当我将二进制文件上传到 App Store Connect 并安装了 Parse SDK 时,苹果会向我发送一条自动消息,如下所示。这个问题已经一个月了。当我从 pod 中删除 SDK 时,我没有传递此消息。我的应用程序没有使用位置。

We identified one or more issues with a recent delivery for your app XXXXX. Your delivery was successful, but you may wish to correct the following issues in your next delivery:

"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 NSLocationAlwaysUsageDescription 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.

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

Best regards,

The App Store Team"

同样的问题我不止一个项目。

我在 SDK 的官方 github 上提到了这个问题,但他们告诉我这不是 SDK 的问题。

还有其他人遇到同样的问题吗?我可以在 info.plist 中添加什么文本以使 apple 批准我的项目。

我从链接库中删除了 CoreLocation.framework。我还删除了 PFLocationManager.h 和 PFLocationManager.m 文件,并从 PFGeoPoint.h/m、FPolygon.h/m 和 Parse.h 中注释了 CCLocation 对象。

我成功上传了二进制文件,但没有从 Apple 系统发送电子邮件。