解决“此构建版本无效”问题

今天提交版本到appStore的时候遇到了“此构建版本无效”的提示,在网上搜索一番,都是关于Swift的介绍,解决方案见相关链接:

http://stackoverflow.com/questions/26163856/invalid-swift-support-invalid-implementation-of-swift

在连续提交了两次二进制文件提示“此构建版本无效”:

构建版本无效提示

之后,苹果发来一封邮件,邮件内容如下:

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.

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.

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.

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

Potential Loss of Keychain Access - The previous version of software has an application-identifier value of ['V545V3CXAP.com.ruanmeng.gexiazi'] and the new version of software being submitted has an application-identifier of ['H99H2YK68K.com.ruanmeng.gexiazi']. This will result in a loss of keychain access.

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

原来是iOS10,需要在info.plist中配置关于使用用户麦克风,相册和相机的说明,关于兼容iOS10的配置说明:点击链接 -> 配置获取隐私数据权限声明

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值