美文网首页
此构建版本无效

此构建版本无效

作者: 旅途的喵 | 来源:发表于2016-10-10 19:08 被阅读16次

    使用Xcode8 提交的时候出现此构建版本无效,然后收到了这样一份邮件

    Dear developer,

    We have discovered one or more issues with your recent delivery for "****. To process your delivery, the following issues must be corrected:

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

    Once these issues have been corrected, you can then redeliver the corrected binary.

    Regards,

    The App Store team

    发现是隐私权限的问题 访问的摄像头、麦克风等硬件,都需要提前请求应用权限、允许后才可以使用,于是就在.plist里面对NSPhotoLibraryUsageDescription 添加描述如下图

    然后重新打包上传就成功了。

    相关文章

      网友评论

          本文标题:此构建版本无效

          本文链接:https://www.haomeiwen.com/subject/ildvyttx.html