【问题标题】:How to fix this Xcode Error: "Warning unable to build chain to self signed root for signer apple Development"?如何解决此 Xcode 错误:“警告无法为签名者苹果开发构建自签名根的链”?
【发布时间】:2021-05-23 00:43:47
【问题描述】:

所以,我刚刚更新了我的 Apple 开发者会员资格并开始收到此错误 "Warning unable to build chain to self signed root for signer apple Development"

我无法存档我的应​​用以将它们上传到 AppStore,我尝试了这些线程但没有成功:

https://developer.apple.com/forums/thread/86161

Always 'Ad Hoc Code Signed' for Embedded Binary Signing Certificate

https://developer.apple.com/forums/thread/662300

PS:我的 Apple 开发和 Apple 分发证书中有 "this certificate is not trusted" 在钥匙串访问的证书部分。不知道是不是和我的问题有关?

【问题讨论】:

    标签: ios xcode


    【解决方案1】:

    对我有用的是下载 2030 年 2 月 20 日到期的 "Apple Worldwide Developer Relations Certification Authority" 以及已经存在的 2023 年 2 月 7 日到期的"Apple Worldwide Developer Relations Certification Authority"

    这足以让 "this certificate is not trusted" 消失,让我再次构建和归档我的应用程序。

    【讨论】:

    【解决方案2】:

    我最近遇到了这个问题,我发现这是操作系统的问题。 这个解决方案看起来像个 hack,但它确实有效!

    1. 转到 Xcode Preferences 菜单(command+,),然后转到 Accounts 选项卡

    2. 单击左下角的齿轮图标并导出 Apple ID 和代码签名资产...

    3. 设置导出密码

    ⚠️ 您将删除所有密码和个人资料!不要忘记密码!强烈建议您记下您的密码。

    ⛔️ 此文件将包含您的所有帐户和个人资料。确保非常安全。

    1. 删除所有帐户。

    2. 构建并面对新的错误。

    3. 使用您的密码将它们导入回来。

    它现在应该又可以工作了。

    【讨论】:

    • 我试过了,但对我没有用,也许它对其他人有用。我仍然遇到同样的错误。
    猜你喜欢
    • 2018-08-01
    • 1970-01-01
    • 2021-05-31
    • 2021-05-05
    • 1970-01-01
    • 2021-07-23
    • 2021-03-30
    • 1970-01-01
    相关资源
    最近更新 更多