尝试为 iPhone 设备签署代码时加密 CSSMERR_DLL_MISSING_VALUE

发布于 2024-08-19 17:12:57 字数 294 浏览 11 评论 0原文

我有一些代码在模拟器中运行良好,但是当我尝试为 iPhone 构建时,我收到一个神秘的错误:

CodeSign /Users/.../myApp.app (1 error)
error: CSSMERR_DL_MISSING_VALUE

就是这样。没有其他参考。

听起来这与我的代码签名权限有关,但到底是什么?我的私钥、证书和配置文件应该没问题,但所有应用程序都会发生这种情况,因此它不是特定于应用程序的。我尝试重新安装配置文件,但无济于事。我应该怎么做才能消除此错误并使代码签名再次工作?

I have some code which runs fine in simulator, but when I try to build for iPhone, I get a cryptic error:

CodeSign /Users/.../myApp.app (1 error)
error: CSSMERR_DL_MISSING_VALUE

That's it. No other references.

Sounds like it's something about my code signing privileges, but what exactly? My private key, certificate and provisioning profile should be OK, but this happens with all apps, so it's not app specific. I tried reinstalling the provisioning profile, but to no avail. What should I do to get rid of this error and make code sign work again?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

夏有森光若流苏 2024-08-26 17:12:57

好吧,这很奇怪:

我连接了一个智能卡读卡器,上面有一张带有私钥和证书的智能卡,我用它来进行一些签名和身份验证操作。它与 Xcode 无关,但显然这个智能卡混淆了 Keychain 足以吐出这个错误。断开读卡器的连接,签名再次按预期工作。

Ok, this is a weird one:

I had a smart card reader connected, with a smart card with a private key and certificate on it, that I use for some signing and authentication operations. It has nothing to do with Xcode, but apparently this smartcard confused Keychain enough to spit out this error. Disconnected the card reader and signing works again as expected.

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