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

查看:327
本文介绍了由于第三方库,如何处理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-

NSLocationAlwaysUsageDescription NSLocationWhenInUseUsageDescription

NSLocationAlwaysUsageDescription NSLocationWhenInUseUsageDescription

应用程序没有出于任何目的使用位置.

The application is not using location for any purpose.

可能是由于以下原因造成的:

It may be caused:

  • 我更新过的其中一个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?

如果使用该权限的某个第三方库,开发人员应该在目的字符串中写些什么?

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

PD:据我了解,至少在Android上,AdMob早就使用位置信息了. https://developers.google.com/admob/ios/targeting#location https://support.google.com/admob/answer/6373176?hl=

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网上论坛上发现了该问题: 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吊舱并上传新的版本.这次所有工作都没有苹果发出的任何电子邮件.

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

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

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