代码设计 未找到身份

发布于 2024-12-16 18:57:49 字数 746 浏览 7 评论 0原文

我尝试在终端中使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如此安好 2024-12-23 18:57:49

我重新创建了证书,这解决了问题。我之所以提出这个问题是因为我之前重新创建了证书,但没有成功。

但是,由于某种原因,“第 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文