ios,xcode 8.0构建版本失效问题,

xcode升级到8.0之后,第一次提交版本更新,遇到了很多的坑。自己已经提交过很多版本了,对提交版本也是轻车熟路。然而这一次提交一次版本让我等了好长时间。用xcode提交版本完成,但等了好长时间,在iTunes connect上一直刷新不出来。后来又重新提交了一个版本,还是刷新不出来。因为绑定的邮箱不是我保管,所以也没看邮箱。这才想起去看邮箱。邮箱内容如下:

Dear developer,

We have discovered one or more issues with your recent delivery for "物通配货货主版". To process your delivery, the following issues must be corrected:

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.

Though you are not required to fix the following issues, we wanted to make you aware of them:

Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profile that includes the aps-environment entitlement. This will create the correct signature, and you can resubmit your app. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.

Once the required corrections have been made, you can then redeliver the corrected binary.

Regards,

The App Store team

出现两个问题:一个是需要在Info.plist 文件中添加NSPhotoLibraryUsageDescription,这是APP访问用户相册没有做描述的缘故。iOS 10更加注重用户的隐私保护,所以每次使用涉及用户隐私的功能都要在info.plist 文件中做相应的说明。比如:相机,定位,多媒体,麦克风,蓝牙等,根据实际情况做相应的处理。

第二个问题是推送的问题,我之前做了推送,只是测试的,这个版本并没有添加正式的推送,所以我要做的是You may remove the API from future submissions to stop this warning。把我做的推送API移除,刚开始并不知道怎么移除推送的API,查了很多资料,多为外国的文献或论坛,自己也弄得不是多清楚,好像是说不用管它。但是我还是把调用推送的代码屏蔽了,结果意外的好了。

然后重新提交,20分钟左右就刷新出来了。上面有我之前提交的版本,但都是无效的,最后提交的那个是有效的。

 

转载于:https://www.cnblogs.com/pengoeng/p/5960894.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值