打包一个版本提示上传成功,但是在tune connect上面“构建版本”一直看不到,在活动卡选项也看不到上传的记录。纠结了一番,查看了苹果邮件。内容如下:
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.
(平时上传包,或审核得多注意苹果邮件,这样减少一些弯路)
上面的内容告诉了我们app调用了手机的相册和麦克风权限,当时并无加入提示描述。我查看了plist文件,发现不知道为啥描述提示语都给情况,估计是上传到svn给某个同事覆盖了,后面加入对应的权限提示语,重新打包上传,构造版本成功显示出来。
如果遇到同样的问题,构造版本一直无法出来,可以查看是否加入对应的权限描述。
最后,苹果的邮件很重要!