iPhone - 代码签名、配置、证书

发布于 2024-12-27 15:20:13 字数 376 浏览 1 评论 0原文

我正在尝试生成 IPA 文件以在某些设备中进行测试,但是当我尝试使用 iPhone 配置实用程序在这些设备中安装时,我收到以下消息:“未找到此可执行文件的有效配置文件”。

我仔细检查了证书和配置(分发),项目->构建设置->代码签名和目标 ->构建设置->代码签名身份也正确。

当我尝试 Archive -> 时,我意识到了这一点。分享,身份没有有效的配置文件(看图片):

有效的 XHTML http://tlab.in/协同设计.png

我用谷歌搜索了一整天,但找不到任何有帮助的东西。有什么想法吗?

I'm trying to generate an IPA file for test in some devices, but when I try to install in these devices with IPhone Configuration Utility, I receive this message: "A valid provisioning profile for this executable was not found ".

I double-checked the certificate and provisioning(distribution), the Project-> Build Settings -> Code Signing and Target -> Build Settings -> Code Signing Identity are correct too.

Something that I realised is when I try Archive -> Share, the Identity has no valid provisioning profile (look at the picture):

Valid XHTML http://tlab.in/codesign.png.

I googled all the day and I couldn't find anything that would help. Any ideas?

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

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

发布评论

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

评论(2

彩虹直至黑白 2025-01-03 15:20:13

以下是您应该查看的常见问题:

  1. 在您的配置门户(Apple 开发人员站点)中,确保在分发选项卡中提供有效且活动的分发配置文件,并且它应该是 AdHoc 类型。
  2. 确保您已将设备 ID 添加到步骤 1 的配置文件中。
  3. 确保您已在项目中写入正确的捆绑包标识符(即 com.yourcompany.yourproject)。
  4. 检查您是否已在 Xcode 中将“构建设置”->“代码签名”->“发布”设置为正确的标识符。
  5. 完成这些步骤后,您应该能够按您提供的图像的组合框并选择 AdHoc 证书。
  6. 有时,您可能需要从正在测试的设备中手动删除旧的配置文件(从“设置”->“常规”->“配置文件”)。

我希望这对你有帮助

Here are common issues that you should review:

  1. In your Provisioning Portal (in the Apple Developer site), make sure to have Distribution tab a valid and Active Distribution Provisioning Profile, and it should be of type AdHoc.
  2. Make sure that you have added the device ID into the profile of step 1.
  3. Make sure that you have written the correct Bundle Identifier in your project (the one that says com.yourcompany.yourproject)
  4. Check that you have set in Xcode the Build Settings->Code Signing->Release to the correct identifier.
  5. After these steps you should be able to press on the combobox of the image you provided and select the AdHoc certificate.
  6. Sometimes you might need to manually delete old Provisioning Profiles from the devices that you are testing (from Settings->General->Profiles).

I hope this helps you

岁月流歌 2025-01-03 15:20:13

在这种情况下,您分配给应用程序的捆绑包 ID 没有有效的 AdHoc 配置文件。如果您要创建要共享的 IPA - 它需要是 AdHoc 配置文件 - 并确保捆绑包 ID 匹配。

In this case, there is no valid AdHoc provisioning profile for the bundle ID that you assigned to the application. If you are going to create an IPA to share - it needs to be an AdHoc profile - and be sure that bundle ID matches.

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