沙盒应用程序错误,加载助手(LoginItems)时,代码签名问题 [英] Error in Sandboxed App, When loading Helper (LoginItems), code signing issue

查看:103
本文介绍了沙盒应用程序错误,加载助手(LoginItems)时,代码签名问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图摆脱这个问题(我希望这是最后一个!)

I'm trying to get out of this problem (I hope it's the last!)

简而言之,我有一个状态栏应用,该应用必须从以下位置开始登录。
我遵循了本教程 http: //blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/

Briefly, I have one status bar app, which needs to start at login. I followed this tutorial http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/

一切正常,但是当需要在xcode之外的真实竞赛中测试应用程序时,我最终会在控制台system.log中看到以下消息:

Everything it's working, but when it's time for testing the app in a real contest, outside xcode, I end up with this message in the console system.log:

appleeventsd [52]:< rdar:// problem / 11489077>具有pid 1258的沙盒应用程序, xxxxx已通过appleeventsd签入,但其代码签名无法验证(因为它已损坏,或无法被appleeventsd读取),因此它无法接收按名称,包ID为目标的AppleEvent或签名。错误=错误:#-67061 { NSDescription = SecCodeCheckValidity()返回-67061,< SecCode 0x7fb0ea714300 [0x7fff71381e10]>。 }(handleMessage()/ appleEventsD.cp#2072)cli​​ent-reqs-q

我所做的是使用此命令检查代码签名: spctl --assess --type execute AppName

What i did was checking the code signature with this command: spctl --assess --type execute AppName

结果是两个主应用程序的代码签名都可以,

The result was code signature ok for both the Main app, and the Helper app.

在教程中可以看到,helper应用程序项目保留在主应用程序项目中。也许这是原因?

As you can see in the tutorial the helper app project is kept inside the main app project. Maybe this is the cause?

我尝试了不同的签名配置文件,现在我使用的是 Mac Distribution

I've tried different Signing profiles, now i'm using "Mac Distribuition"

使用OsX Mavericks DP6和Xcode 5 beta ..

I'm using OsX Mavericks DP6 And Xcode 5 beta ..

有什么想法吗?

推荐答案

对于其他找到此帖子的人,我相信答案就在这里:无法正确编码签名辅助应用程序

For anyone else finding this post, I believe the answer is here: Can't code sign helper app properly

尝试从/运行应用程序,看看您是否仍在控制台中收到消息。

Try running from /Applications and see if you still get the message in the console.

这篇关于沙盒应用程序错误,加载助手(LoginItems)时,代码签名问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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