代码设计 未找到身份
我尝试在终端中使用 Codesign,如下所示:
codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app"
但我不断收到此错误:
3rd Party Mac Developer Application: asdf: no identity found
有什么想法吗?基本上,codesign 无法“看到”此证书。但是,无论我如何输入,我都会收到相同的错误。我尝试了以下操作:
codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app"
codesign -f -s 3rd Party Mac Developer Application: asdf -v "My App.app"
codesign -f -s 3rd\ Party\ Mac\ Developer\ Application:\ asdf -v "My App.app"
codesign -f -s asdf -v "My App.app"
codesign -f -s "asdf" -v "My App.app"
codesign -f -s Application -v "My App.app"
具体来说,我正在尝试将我的应用程序放入 Mac App Store。这是配置问题还是其他什么问题?我感觉我已经尝试了一切
I am trying to use Codesign in the Terminal like follows:
codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app"
But I keep getting this error:
3rd Party Mac Developer Application: asdf: no identity found
Any ideas? Basically, codesign cannot "see" this certificate. But, no matter how I type it out, I get the same error. I tried the following:
codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app"
codesign -f -s 3rd Party Mac Developer Application: asdf -v "My App.app"
codesign -f -s 3rd\ Party\ Mac\ Developer\ Application:\ asdf -v "My App.app"
codesign -f -s asdf -v "My App.app"
codesign -f -s "asdf" -v "My App.app"
codesign -f -s Application -v "My App.app"
Specifically, I am trying to get my app into the Mac App Store. Is this a problem with provisioning or something? I feel like I've tried everything
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我重新创建了证书,这解决了问题。我之所以提出这个问题是因为我之前重新创建了证书,但没有成功。
但是,由于某种原因,“第 3 方 Mac 开发人员应用程序:asdf”证书缺少私钥。
I re-created the certificates and this solved the problem. The reason that I posted this question is because I had re-created the certificates before, to no avail.
However, the '3rd Party Mac Developer Application: asdf' certificate was missing the private key, for some reason.