我是 Mac App Store 开发的新手,我正在尝试在开发环境中测试我的第一个签名应用程序(就在进入混乱的收据验证之前!)。
我经历了以下步骤:
1)我创建了3个证书
- a) Mac 应用程序
- b) Mac 安装程序
- c) 开发(如果我不创建此证书,则无法在下一点 4 创建开发配置文件)
2)我创建了一个应用程序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)上尝试了相同的过程,得到了相同的结果
我已删除并重新创建证书和开发配置文件,结果相同。
任何人都可以提供任何帮助吗?
预先非常感谢您。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)