ambiguous (matches "***" and "***" in /Users/***/Library/Keychains/login.keychain-db)

在macOS上给驱动程序手动签名时报错:

Developer ID Application: ***. (***): ambiguous (matches 
"Developer ID Application: ***(***)" and "Developer ID Application: 
***(***)" in /Users/***/Library/Keychains/login.keychain-db)

原因:login.keychain中存在两个同名的证书,在签名程序遍历证书队列时,不知道具体使用哪一个。

解决:删除之前较早的一个同名证书,注意千万别删错。

猜你喜欢

转载自blog.csdn.net/liuzehn/article/details/105523121
今日推荐