“警告:无法为签名者构建自签名根的链"Xcode 9.2 中的警告 [英] "Warning: unable to build chain to self-signed root for signer" warning in Xcode 9.2

查看:49
本文介绍了“警告:无法为签名者构建自签名根的链"Xcode 9.2 中的警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 Xcode 项目迁移到另一台计算机.它给了我警告警告:无法为签名者构建自签名根的链",当它运行时它立即崩溃,类似于此堆栈溢出中显示的内容:

I'm attempting to migrate an Xcode project to another computer. It gives me the warning "Warning: unable to build chain to self-signed root for signer" and when it runs it crashes immediately similarly to what is shown in this Stack Overflow:

应用程序在模拟器上工作,但不在 iPhone 上工作(dyld`__abort_with_payload dyld`_dyld_start)

我的问题似乎与 Apple 开发者论坛上的描述类似:https://forums.developer.apple.com/thread/86161

My issue seems similar to what is described on the Apple Developer Forums here: https://forums.developer.apple.com/thread/86161

与此 Stack Overflow 上的描述类似:Xcode ios 应用开发代码签名

and similar to what is described on this Stack Overflow: Xcode ios app development code signing

除了删除证书并重新添加它们的建议外,重新添加我的帐户并重新启动似乎没有帮助.我第二次删除了我的开发人员证书,现在我看不到它回来了,而且我不知道如何取回它,因为我的开发门户似乎没有下载它的地方像以前一样.

except the suggestions of deleting certificates and re-adding them, re-adding my account and restarting didn't seem to help. I have removed my developer cert for the second time and now I don't see it coming back, and I'm at a loss of knowing how to get it back since my dev portal doesn't appear to have a place to download it like it used to.

我也尝试过多次删除派生数据文件夹.

I've also tried deleting the derived data folder several times.

e:我已经确定这台计算机上的任何项目都会导致相同的崩溃和警告.

e: I've determined ANY project on this computer results in the same crash and warning.

推荐答案

我这几天一直面临同样的问题.最后我通过从 Key Chain Access 更改我的根 CA 来解决它.在系统/登录密钥链中查看.哪个证书颁发机构正在用作您的个人配置文件证书的签名者.输入有效的 CA 证书,您就可以开始了!希望能帮助到你.咻!

I have been facing same issue for days now. Finally i solved it by just changing my root CA from Key Chain Access. View in System/ Login key chains. which certificate authority is being used as signer for your personal provisioning profile's certificate. Enter a valid CA certificate and you are good to go! Hope it helps. Ciao!

这篇关于“警告:无法为签名者构建自签名根的链"Xcode 9.2 中的警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆