那些上传AppStore遇到的坑

来源:互联网 发布:征兵心理测试软件 编辑:程序博客网 时间:2024/05/28 16:01

 电影《阿甘正传》的经典台词"人生就像巧克力,你永远不知道下一块是什么"苹果开发我想说“你永远不知道下一个遇到的开发坑是什么”。这些年遇见的苹果开发坑千奇百怪,我已经由刚开始的抓狂进化成如今的云淡风轻。遇到问题就解决已经成为我如今的开发座右铭。俗语有云“好记性不如烂笔头”下面我盘点一些曾经碰到的上传AppStore的问题

  一、最近的一个,如果你刚好在今年2月14号上传应用,那么你会碰到这个问题(截图如下):

原因是Apple World Wide Developer Relations Certificate Authority的过期时间是2016年2月14。苹果的回答如下:


Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the newWWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.

简单地说就是颁发开发者证书的根证书过期了。打开钥匙串访问会看到它已无效。

解决方法:

1.打开keychain(钥匙串),在登录和系统中找到过期的 Apple World Wide Developer Relation Certification Authority,然后删除它
注意在keychain显示菜单下,设置成显示过期证书

2.下载这个链接里的AppleWWDRCA.cer的证书到本地

3.把AppleWWDRCA.cer安装到登录和系统中.

成功后你将会看到Apple World Wide Developer Relation Certification Authority有效,同时发布证书也正常了。


0 0
原创粉丝点击