且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我如何摆脱Apple Developer ID证书混乱

更新时间:2023-12-03 20:00:58

好,我解决了这个问题,我遵循了这些说明,以便基本上恢复我以前的钥匙串

Well I resolved it, I followed these instructions in order to restore my previous keychain, basically

  • KeyChain访问中,选择删除钥匙串登录" ,并确保在出现提示时选择 Delete References ,而不是 Delete References&文件.
  • 打开 Finder ,然后转到文件夹〜/Library/Keychains
  • login.keychain 重命名为 login.keychain.old
  • login-renamed-1.keychain 重命名为 login.keychain
  • KeyChain访问中,选择添加钥匙串",然后选择 login.keychain 文件
  • 重新启动 KeyChain访问以查看正确的结果
  • In KeyChain Access select Delete Keychain "login", and ensure choose Delete References when prompted, not Delete References & Files.
  • Open Finder, and go to Folder ~/Library/Keychains
  • Rename login.keychain to login.keychain.old
  • Rename login-renamed-1.keychain to login.keychain
  • In KeyChain Access select Add Keychain and select the login.keychain file
  • Restart KeyChain Access to see the correct results

但是后来我仍然遇到一个问题,当我尝试签名时,系统提示我输入KeyChain密码,但我不知道.....

But then I still had the problem that when i tried to sign I was prompted for KeyChain password and I didn't know it.....

但是在 KeyChain Access 中,我去了 Edit:更改钥匙串登录"的设置 并输入我认为的旧密码和新密码,即使我使用密码对其进行签名失败,它也接受了更改

However in KeyChain Access I went to Change settings for keychain "login" and entered what I thought was old password and new password, and it accepted the change even though when I used the password to sign it failed

然后我运行登录并在出现提示时输入新密码并被接受.

I then ran sign and entered the new password when prompted and it was accepted.

我验证了签名,上载了版本,下载,安装并运行了该版本,以确保该版本没有问题,而且还不错.因此,我希望这个答案可以帮助其他非Apple开发人员在他们的工具上苦苦挣扎

I verified signature, uploaded build, downloaded, installed and ran to ensure there was no problem with the build and it was fine. So I hope this answer helps other non Apple developers struggling with their tools