协同设计错误-返回的SecKey API:-67671 [英] Codesign error - SecKey API returned: -67671

查看:110
本文介绍了协同设计错误-返回的SecKey API:-67671的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行特定应用程序的代码时,出现错误:

When I try to run codesign of a particular app, I get an error:

/Users/xxx/xxxxxx/xxxxx.app:替换现有签名

SecKey API返回:-67671(空)/Users/xxx/xxxxxx/xxxxx.app

未知错误-1 = ffffffffffffffffff

知道这意味着什么吗?

推荐答案

就我而言,需要执行以下操作:

In my case needed to do the following:

  1. 钥匙串访问中,右键单击私钥(如果看不到,请通过单击证书旁边的小三角形展开证书)

  1. in the Keychain Access right click on the Private Key (if it is not seen, expand the Certificate by clicking on the little triangle near it)

选择获取信息

转到访问控制标签,选择允许所有应用程序访问此项目"

Go to Access Control tab, choose "Allow all applications to access this item"

点击保存更改按钮,如果出现提示,输入用户名/密码

Click Save changes button, input the username/passwords if prompted

还请注意,证书/密钥不仅可以在您的登录钥匙串中,而且可以在系统钥匙串中.如果需要,对两者都做同样的事情.

Also note the Certificate/Key could be not only in you login keychain, but also in the System keychain. Do the same for both if required.

这篇关于协同设计错误-返回的SecKey API:-67671的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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