美文网首页
xcode Version 8.2.1 (8C1002) 打包后

xcode Version 8.2.1 (8C1002) 打包后

作者: 魔灵FH | 来源:发表于2017-03-31 10:47 被阅读0次

    遇到这种情况 

    首先去注册邮箱里看下有没有iTunes Store 发来的邮件。

    Dear developer,

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

    Missing Info.plist key- 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.

    Missing Info.plist key- This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription 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 的键值 。

    鉴于老版本适配 iOS10  。查看一下相关文档NSPhotoLibraryUsageDescription  NSMicrophoneUsageDescription  那么根据相关提示 添加而后重新跑项目。则完美解决

    附上:

    <key>NSPhotoLibraryUsageDescription</key>

    <string>此 App 需要您的同意才能读取媒体资料库</string>

    <key>NSCameraUsageDescription</key>

    <string>cameraDesciption</string>

    <key>NSContactsUsageDescription</key>

    <string>contactsDesciption</string>

    <key>NSMicrophoneUsageDescription</key>

    <string>microphoneDesciption</string>

    相关文章

      网友评论

          本文标题:xcode Version 8.2.1 (8C1002) 打包后

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