iOS 分发证书在验证时未连接

iOS Distribution certificate not connecting when validating

我正在将我的应用程序提交到 App Store,但是在存档时验证我的应用程序时,我收到此错误:

我确实有 iOS 分发证书,如下所示:

最近遇到了完全相同的问题,通过下载和安装 Apple WWDR 证书解决了这个问题。您可以在这里找到它:Apple WWDR certificate.

简短描述:

Apple’s World Wide Developer Relations (WWDR) certificate is available from Apple at http://developer.apple.com/certificationauthority/AppleWWDRCA.cer. Download and install the certificate so that you can use it to certify builds. The WWDR certificate links your development certificate to Apple, completing the trust chain for your application.

原因是因为我有 2 个 WWDR 证书。我删除了过期的,保留了有效的。