iOS Application Loader 上传应用到AppStore 提示成功,但是iTunesConnect里却一直没有可以构建的版本

今天遇到了个奇怪的问题,如标题所示
Application Loader 上传应用到AppStore 提示成功,但是iTunesConnect里却一直没有可以构建的版本

这个是ipa的包出现了问题,会收到苹果的邮件

Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCalendarsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://deve<wbr>loper.apple.<wbr>com/document<wbr>ation/uikit/<wbr>core_app/pro<wbr>tecting_the_<wbr>user_s_priva<wbr>cy).

Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothPeripheralUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://deve<wbr>loper.apple.<wbr>com/document<wbr>ation/uikit/<wbr>core_app/pro<wbr>tecting_the_<wbr>user_s_priva<wbr>cy).

这是xcode10 和 iOS8 新出的功能 需要在plist文件中添加权限
所有的权限如下:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>是否允许此app访问蓝牙</string>
<key>NSCalendarsUsageDescription</key>
<string>是否允许此app访问日历</string>
<key>NSCameraUsageDescription</key>
<string>是否允许此app访问相机</string>
<key>NSHealthShareUsageDescription</key>
<string>是否允许此app访问健康分享</string>
<key>NSHealthUpdateUsageDescription</key>
<string>是否允许此app访问健康更新 </string>
<key>NSLocationAlwaysUsageDescription</key>
<string>是否允许此app访问位置</string>
<key>NSLocationUsageDescription</key>
<string>是否允许此app访问位置</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>是否允许此app在使用期间访问位置</string>
<key>NSMicrophoneUsageDescription</key>
<string>是否允许此app访问麦克风</string>
<key>NSMotionUsageDescription</key>
<string>是否允许此app访问运动与健身</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>是否允许此app访问相册</string>
<key>NSRemindersUsageDescription</key>
<string>是否允许此app访问提醒事项</string>

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,551评论 5 6
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,991评论 19 139
  • 中秋赏月 中秋月圆团圆日, 相聚月下对饮时, 上月赋诗聊家常, 流浪孩子秋风似。 奔波在外为生计, 归家心切不由己...
    你健康我快乐_61fc阅读 265评论 1 4
  • 向地平线奔跑的世界 请停下脚步 看看春雨里洗过的太阳 听听你不知道的事 还有读一首诗给你 面朝大海春暖花开 这不公...
    老爷爷不是我阅读 189评论 0 3
  • 独倚轩门望疏空,花自凭落秋渐浓! 偶听雀鸟争暖树,静观新篁御凉风。 伏案执笔生雅趣,觅句填格叹词穷。 四季分明天作...
    逸塵居士阅读 99评论 0 0