3

我是 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)我将我的目标的代码签名标识设置为: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)上尝试了相同的过程,结果相同

我已经删除并重新创建了证书和开发配置文件,结果相同。

任何人都可以提供任何帮助吗?

非常感谢您提前。

4

2 回答 2

1

更新到 10.7.2 为我解决了这个问题。

于 2011-09-21T20:26:04.567 回答
0

我有同样的问题,但我也有 OSX 10.7.2 和 XCode 4.2。当我使用我创建的开发人员资料签署应用程序时,该应用程序不会启动,尽管 XCode 说它正在运行该应用程序。除了更新您的操作系统之外,您是否还做过其他事情?

谢谢

于 2011-11-15T22:31:00.347 回答