iOS中打一个包上传后,iTunes中找不到上传的包的解决方法

今天再上传新包的时候,明明包已经上传成功,但是在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> 

我是因为添加了权限,但是没有添加后面的权限描述如:访问相机访问麦克风
添加之后我再次上传一个新包,发现完全可以了,在活动中可以看到一个新的包正在处理,如图:

上传成功

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容