[已删除]
[已删除]
  • 发布:2018-04-26 14:26
  • 更新:2018-04-26 19:41
  • 阅读:1294

NSLocationAlwaysUsageDescription

分类:wap2app

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSLocationAlwaysUsageDescription key with a string value explaining to the user how the app uses this data.

昨天还构建版本正常,今天用昨天构建的版本,也用不了 会提示 二进制文件失效,不知道咋回事。。。。。。。。有遇到的朋友吗? 今天打包的IPA 根本无法构建版本了。。。

2018-04-26 14:26 负责人:无 分享
已邀请:
kekiskee

kekiskee

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSLocationAlwaysUsageDescription key with a string value explaining to the user how the app uses this data.

我也一样的问题,客服没人吗?

DCloud_App_Array

DCloud_App_Array

这是因为苹果appstore审核机制更严格了引起的问题,机审扫描发现应用代码中包含调用定位API就要求添加应用后台使用定位(NSLocationAlwaysUsageDescription)的描述信息。以前苹果审核规则是只有应用要求再后台使用定位功能时才添加此描述信息,云端打包默认没有添加此描述信息,仅添加应用使用定位功能的描述信息(NSLocationWhenInUseUsageDescription)。我们已经更新了云端打包机默认也添加了NSLocationAlwaysUsageDescription描述信息。
如果应用没有使用到定位功能
重新提交云端打包生成新的ipa即可。
如果应用使用到定位功能
可以通过以下方法修改描述内容。
请在manifest.json文件的plus->distribute->apple->plistcmds添加以下内容:

  "plistcmds":[  
    "Set :NSLocationWhenInUseUsageDescription 使用定位描述信息",  
    "Set :NSLocationAlwaysUsageDescription 后台使用定位描述信息"  
  ]  

重新提交云端打包生成新的ipa。
更多用户授权描述配置参考这里

该问题目前已经被锁定, 无法添加新回复