【发布时间】:2018-04-28 16:17:09
【问题描述】:
当我在我的 iPhone 上运行我的应用程序时,我会收到以下警告:
unable to build chain to self-signed root for signer "".
我的应用程序安装在 iphone 中但突然关闭。
【问题讨论】:
-
forums.developer.apple.com/thread/86161
I solved my problem by: - Removing all account information from Xcode and quitting Xcode. - Open Keychain Access and delete all my certificates, as well as all Apple root and intermediate certificates. - Manually resintall all Apple root and intermediate certificates. - Relaunch Xcode and open Preferences > Accounts. Sign in to dev account, and select Download Manual Profiles. -
我的问题解决了。我重置了我的钥匙串访问证书。
-
进入 Xcode 并从 Preferences 中删除您的帐户 转到 ~/Library/MobileDevice/Provisioning Profiles 中的 finder 并删除 Go 中的文件进入钥匙串并删除任何提及 Mac 开发人员、iOS 开发人员等的个人证书将您的帐户重新添加到 Xcode 并选择撤销现有证书您必须重新生成任何配置文件,因为以前的配置文件与现在已撤销的证书相关联并且现在无效而且,不要手动信任开发人员证书...这完全破坏了代码签名,因为 codesign 不会信任它。
-
TODO:不要手动信任开发人员证书...这会完全破坏代码签名,因为 codesign 不会信任它。我用这个解决问题~