今天再上传新包的时候,明明包已经上传成功,但是在iTunes中怎么都找不到我上传的包,一直让我构建一个新版本
可以看到已经上传成功,但是在iTunes中一直找不到我的包,一直让我构建版本
相当的焦灼,因为我当时也没公司的开发者注册的邮箱,后来跟lead说了下,要来了邮箱,看到苹果给回复一个邮件,具体内容如下:
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文件中配置的权限,没有添加权限说明,具体权限说明添加如下:
具体代码如下:
<key>NSCalendarsUsageDescription</key><string>访问日</string>
<key>NSMicrophoneUsageDescription</key><string>访问麦克风</string>
<key>NSAppleMusicUsageDescription</key><string>访问媒</string>
<key>NSMotionUsageDescription</key><string>访问运动与健康</string>
<key>NSRemindersUsageDescription</key><string>访问提醒事项</string>
<key>NSLocationAlwaysUsageDescription</key><string>始终访问位置</string>
<key>NSLocationWhenInUseUsageDescription</key><string>使用期间访问位置</string>
<key>NSLocationUsageDescription</key><string>访问位置</string>
<key>NSPhotoLibraryUsageDescription</key><string>访问相册</string>
<key>NSCameraUsageDescription</key><string>访问相机</string>
我是因为添加了权限,但是没有添加后面的权限描述如:访问相机
、访问麦克风
添加之后我再次上传一个新包,发现完全可以了,在活动中可以看到一个新的包正在处理,如图: