关于Xcode8上传APP成功 iTunesConnect无法构建版本的问题

1.部分无法构建版本的解决方案

最近app上传的时候碰到了的,上传了好多次后台都没有构建出新版本,老大那个催啊,问这个,问那个,大神都告诉我经验解决不了这些问题,后来一看苹果给回复的邮件才懂了

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.

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

iOS10好像访问隐私数据需要使用说明,说白了就是要在info.plist文件里增加两个键值对如图一

图一

NSCameraUsageDescription

cameraDesciption

相机权限

NSPhotoLibraryUsageDescription

photoLibraryDesciption

相册权限

2.打印出来一大堆无用的东西(我也不知道有没有用)


关于Xcode8上传APP成功 iTunesConnect无法构建版本的问题_第1张图片
不知道什么东西

想要把它关掉也很简单,来跟我做:

(1)同时按住comd+shift +,  或者点击如图二所示的Edit Scheme

关于Xcode8上传APP成功 iTunesConnect无法构建版本的问题_第2张图片
图二

(2)如图三选择Run->Argument->Environment Variables 添一个键值对

关于Xcode8上传APP成功 iTunesConnect无法构建版本的问题_第3张图片
图三

(3)键值对如下,大功告成

   key:OS_ACTIVITY_MODE

value:disable

你可能感兴趣的:(关于Xcode8上传APP成功 iTunesConnect无法构建版本的问题)