提交程序到AppStore出现证书错误解决办法

今天提交程序到AppStore上,以前都是成功的,但今天提交上去就是错误,itunes connect 中的状态立马变成invalid binary.问题描述如下:

Dear Developer,
We have discovered one or more issues with your recent binary submission for "虾米FM". Before your app can be reviewed, the following issues must be corrected:
Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-container-identifiers entitlement, the first value in the array must consist of the prefix provided by Apple in the provisioning profile followed by a bundle identifier suffix. The bundle identifier must match the bundle identifier for one of your apps or another app that you are permitted to use as the iCloud container identifier.
Specifically, value "597MX98Y4L.*" for key "com.apple.developer.ubiquity-container-identifiers" in xiamiFM is not supported.
Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported.
Specifically, value "597MX98Y4L.*" for key "com.apple.developer.ubiquity-kvstore-identifier" in xiamiFM is not supported.
Once these issues have been corrected, go to the Version Details page and click Ready to Upload Binary. Continue through the submission process until the app status is Waiting for Upload and then use Application Loader to upload the corrected binary.
Regards,
The iTunes Store Team


解决办法:

1. 登陆苹果开发者中心,进入到IOS Privisioning Protal中....

2. 选择左侧的APP IDs

3. 选择你的AppStore要上架的证书,然后选择后面的configure,选择勾掉iCloud,提交

4. 返回后选择左侧的privisioning.进入到Distrubtion中renew你刚才修改的证书.

5. 进入你的XCode选择替换修改好的证书,再次重新编译上传,成功

你可能感兴趣的:(Mac开发)