Mac App Store的应用程序在签名时不会运行 [英] App for Mac App Store doesn't run when signed

查看:541
本文介绍了Mac App Store的应用程序在签名时不会运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Mac App Store的开发新手,我试图在开发环境中测试我的第一个签名的应用程序(只是在进入收据验证之前)。

I'm new to development for Mac App Store and I'm trying to test my first signed app in development environment (just before get into the mess of receipt validation !).

我完成了以下步骤:

1)我创建了3个证书

1) I created 3 certificates


  • a)Mac应用程序

  • b)Mac安装程序

  • c)开发(如果我不创建此证书,

2)我创建了一个应用程序ID

2) I created an App ID

3)我注册了我的系统

3) I registered my systems

4)我创建了开发配置文件

4) I created Development Provisioning Profile

5)我在我的iMac上安装了配置文件

5) I installed the profile on my iMac

6)我将配置文件加载到Xcode中

6) I loaded the profile into Xcode

7)将我的项目的代码标识标识设置为:Mac Developer(对应于在1.c处创建的开发证书)

7) I set the Code Sign Identity of my project to: Mac Developer (corresponding to the Development Certificate created at point 1.c)

8)目标:Mac开发者(对应于在1.c点创建的开发证书)

8) I set the Code Sign Identity of my target to: Mac Developer (corresponding to the Development Certificate created at point 1.c)

9)我为运行创建

10)我在应用程序找到并点击它

10) I located the app in finder and clicked on it

11)图标弹起一些时间,然后应用程序退出

11) The icon bounces some times and then the app quits

12)控制台显示以下消息

12) The console shows the following messages

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

我已经搜索了没有确定答案的邮件。

I have googled the messages without a definitive answer.

我在不同的系统(同时使用Lion 10.7.1和Xcode 4.1)上尝试过相同的过程,结果相同

I have tried the same procedure on a different system (both with Lion 10.7.1 and Xcode 4.1) with the same results

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

Can anyone provide any help ?

谢谢非常预先。

推荐答案

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

Updating to 10.7.2 resolved this issue for me.

这篇关于Mac App Store的应用程序在签名时不会运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆