由于第三方库,如何处理 AppStore 警告 - 缺少目的字符串? [英] How to handle AppStore Warning - Missing Purpose String, because of third party library?

查看:46
本文介绍了由于第三方库,如何处理 AppStore 警告 - 缺少目的字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经上传了在 App Store 中存在多年的应用程序的新版本.

I have uploaded new build of the application that was in the App Store for severals years.

从 iTunes Connect 收到以下电子邮件:

Received following email from iTunes Connect:

您的交付成功,但您可能希望在下次交付时更正以下问题:ITMS-90683:Info.plist 中缺少目的字符串 -

NSLocationAlwaysUsageDescriptionNSLocationWhenInUseUsageDescription

该应用程序不会出于任何目的使用位置.

The application is not using location for any purpose.

可能是由于:

  • 我更新的其中一个 Pod 添加了 Location(admob?)的用法
  • 苹果最近开始执行此检查

我在项目中查找了 Location 和 CoreLocation 内容,但没有结果.它可能是使用它编译的二进制文件.但是如何知道目的是什么?

I have looked for Location and CoreLocation stuff in the project but no results. It might be compiled binary using it. But how to know which and for what purpose?

如果是使用该权限的某个 3rd 方库,开发人员应该在目的字符串中写入什么内容?

What is the developer supposed to write in the purpose string if it's some 3rd party lib using that permission?

PD:根据我对 AdMob 的了解,至少在 Android 上,它很久以前就一直在使用位置信息.https://developers.google.com/admob/ios/targeting#locationhttps://support.google.com/admob/answer/6373176?hl=zh

PD: From what I know for AdMob, at least on Android, it's been using location since long time ago. https://developers.google.com/admob/ios/targeting#location https://support.google.com/admob/answer/6373176?hl=en

PD2:刚发现这个

7.8.1 2016-05-11添加了 SDK 支持,以便在用户明确启用应用的位置权限时自动使用位置数据.

在发行说明中:https://developers.google.com/admob/ios/rel-notes

PD3:刚刚在 AdMob 的 Google Groups 论坛上发现了这个问题:https://groups.google.com/forum/#!category-topic/google-admob-ads-sdk/ios/byShbNTrumk

PD3: Just found the issue on Google Groups forum of AdMob: https://groups.google.com/forum/#!category-topic/google-admob-ads-sdk/ios/byShbNTrumk

推荐答案

另一个有相关问题的地方:https://github.com/OneSignal/OneSignal-iOS-SDK/issues/368

Another place with related issue: https://github.com/OneSignal/OneSignal-iOS-SDK/issues/368

尝试移除 OneSignal pod 并上传新版本.这次所有工作都没有来自苹果的任何电子邮件.

Tried removing OneSignal pod and uploading a new build. This time all worked without any email from apple.

这篇关于由于第三方库,如何处理 AppStore 警告 - 缺少目的字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆