【发布时间】:2011-09-17 08:25:18
【问题描述】:
我是 Mac App Store 开发的新手,我正在尝试在开发环境中测试我的第一个签名应用(就在陷入收据验证的混乱之前!)。
我经历了以下步骤:
1) 我创建了 3 个证书
- a) Mac 应用程序
- b) Mac 安装程序
- c) 开发(如果我不创建此证书,我将无法在下一个点创建开发配置文件 4)
2) 我创建了一个 App ID
3) 我注册了我的系统
4) 我创建了开发配置文件
5) 我在 iMac 上安装了配置文件
6) 我将配置文件加载到 Xcode 中
7) 我将项目的 Code Sign Identity 设置为:Mac Developer(对应于 1.c 点创建的开发证书)
8) 我将目标的 Code Sign Identity 设置为:Mac Developer(对应于 1.c 点创建的开发证书)
9) 我为跑步而打造的
10) 我在 finder 中找到了应用并点击了它
11) 图标弹跳几次,然后应用退出
12) 控制台显示以下消息
Sep 17 10:07:41 Fabrizio-Bocos-iMac taskgated-helper[3186]: Starting taskgated-helper
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-metadata /private/var/db/DetachedSignatures
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /private/var/db/DetachedSignatures
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
Sep 17 10:07:42: --- last message repeated 1 time ---
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny mach-lookup com.apple.ocspd
Sep 17 10:07:42: --- last message repeated 3 times ---
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
Sep 17 10:07:42: --- last message repeated 3 times ---
Sep 17 10:07:42 Fabrizio-Bocos-iMac com.apple.launchd.peruser.501[218] ([0x0-0xe80e8].fabrizio.boco.circuitlab[3183]): Exited: Killed: 9
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
我在没有明确答案的情况下搜索了这些消息。
我在不同的系统(使用 Lion 10.7.1 和 Xcode 4.1)上尝试了相同的过程,结果相同
我已经删除并重新创建了证书和开发配置文件,结果相同。
谁能提供帮助?
非常感谢您。
【问题讨论】:
标签: macos cocoa xcode4 code-signing mac-app-store