Xcode 不会签署应用程序

发布于 2024-10-03 16:42:38 字数 250 浏览 0 评论 0原文

我对此几乎无计可施。我无法让 xcode 识别出它应该签署 @#$% 应用程序!我(认为)我的证书和配置文件设置正确。我已选择适当的目标,并使用基于设备的 SDK。该项目构建没有错误,但是当我查看构建日志时,在GenerateDSYMFile之后我希望看到ProcessingProductPackaging,但我没有看到。我也没有看到 CodeSign 任务。为什么 xcode 甚至不尝试对应用程序进行签名?

我正在使用 xcode 3.2.4。任何方向将不胜感激!

I'm almost at my wit's end with this. I can't get xcode to recognize that it's supposed to sign the @#$% app! I (think) I have my cert and provisioning file setup correctly. I've selected the appropriate target, and am using the Device Based SDK. The project builds without errors, but when I look at the Build Log, after GenerateDSYMFile I expect to see ProcessingProductPackaging, which I don't see. Nor to I see the CodeSign task. Why isn't xcode even attempting to sign the app?

I'm using xcode 3.2.4. Any direction would be appreciated!

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

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

发布评论

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

评论(2

德意的啸 2024-10-10 16:42:38

我不知道;如果 Xcode 无法签名,它通常会拒绝尝试构建。有一些关于编译后步骤的选项(在“部署”下);其中一些可能与代码签名有关。

如果失败,还有其他一些选择:

  • 重新启动 Xcode。
  • 重新启动计算机。
  • 重新安装 Xcode。
  • 从第二个已签名的空项目开始。从第一个项目中删除内容或将内容添加到第二个项目中,直到第一个项目签名或第二个项目没有签名,然后 diff {MyApp,MyApp2}.xcodeproj/project.pbxproj。 (令人烦恼的是,差异充满了可能会改变的 GUID...)

I'm not sure; Xcode normally refuses to even attempt to build if it can't sign it. There are some options about post-compilation steps (under "Deployment"); some of them might relate to code-signing.

Failing that, some other options:

  • Restart Xcode.
  • Restart your computer.
  • Reinstall Xcode.
  • Start with a second, empty project which does sign. Remove things from the first project or add things to the second until either the first one signs or the second one doesn't, and then diff {MyApp,MyApp2}.xcodeproj/project.pbxproj. (Annoyingly, the diff is full of GUIDs that will probably change...)
心在旅行 2024-10-10 16:42:38

首先,验证项目设置:

  1. 选择“项目”、“编辑项目设置”
  2. 确保配置为“调试
  3. ” 在搜索框中输入“代码签名”,并在“代码签名身份”下验证您是否拥有有效的配置文件(例如“iPhone 开发人员”)

然后,验证目标设置:

  1. 展开目标并双击您的应用程序名称
  2. 重复相同的步骤

然后,再次尝试构建。

First, verify the project settings:

  1. choose Project, Edit Project Settings
  2. Make sure the configuration is Debug
  3. Enter 'code sign' into the search box and verify that under 'Code Signing Identity' that you have a valid profile (like 'iPhone Developer')

Then, verify the target settings:

  1. Expand Targets and double-click on your app name
  2. Repeat the same steps

Then, try building again.

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