如何修复此 Xcode 错误:“警告无法为签名者苹果开发构建自签名根的链”?

Tao*_*fik 5 xcode ios

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

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

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

嵌入式二进制签名证书始终“临时代码签名”

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

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

Tao*_*fik 12

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

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

  • 这是我在 VS for Mac 上进行 Xamarin 开发的解决方案 (2认同)
  • 是的,这适用于 Xamarin (2认同)
  • 这个答案解决了我在获得新笔记本电脑后尝试在 PyInstaller 中使用“codesign_identity”时出现“无法为签名者构建自签名根的链”警告/错误的问题。我在钥匙串访问中下载并安装了将于 2030 年 2 月 20 日到期的 G3 证书(除了添加我自己的证书之外)。 (2认同)