代码符号错误

发布于 2024-08-11 01:00:44 字数 201 浏览 5 评论 0原文

我创建了一个新的 iPhone 应用程序。我有两台机器。我已经创建了在一台 Mac 上运行 iPhone 中的应用程序的证书。我可以使用另一台 Mac 在 iPhone 中运行该应用程序吗?但是,当我尝试这样做时,出现错误“Codesign error:SDK 设备 iPhone OS 3.1.2 中的产品类型“应用程序”需要代码签名。请有人帮助我。

问候, 克里希南。

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in iPhone. But when I try to do so I get an error "Codesign error:Code signing is required for product type "Application" in SDK Device iPhone OS 3.1.2. Please some one help me.

Regards,
krishnan.

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

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

发布评论

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

评论(2

娇女薄笑 2024-08-18 01:00:44

您是否已将凭据转移到第二台 Mac 上?它们存储在您的钥匙串中。

您可能需要阅读代码签名的工作原理:http://en.wikipedia.org/wiki /Code_signing

以下是概述:

  • 开发人员通过证书颁发机构 (CA) 创建证书
    • 此证书用于“签署”二进制文件,提供创建者的“证明”
  • 然后开发人员使用该证书签署二进制文件(这是您在第二个 MAC 上缺少的步骤强>)

  • 使用二进制文件的客户端现在可以根据已知的 CA 验证证书,以确保构建的完整性。

Have you transferred your credentials to the second Mac? They are stored in your keychain.

You may need to read up on how Code-signing works: http://en.wikipedia.org/wiki/Code_signing

Here's an overview:

  • Developer creates a Certificate via a Certificate Authority (CA)
    • This certificate is used to 'sign' the binary, providing 'proof' of who created it
  • Developer then uses the Certificate to sign the binary (this is the step you're missing on the second MAC)
  • Clients using the binary can now verify the Certificate against a known CA to ensure the integrity of the build.
高速公鹿 2024-08-18 01:00:44

当您进行存档构建时,还要检查您是否也在目标上进行了代码签名。

花了几个小时才弄清楚这一点。实际上你需要点击Project -->构建设置 -->点击目标-->代码符号..

这不明显

Also check that you are code signing on the target as well when you do the Archive build

Spent hours to figure this out. Actually you need to click on Project --> Build Settings --> click target --> code sign..

THIS IS not apparent

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