无法正确代码签名助手应用程序 [英] Can't code sign helper app properly

查看:174
本文介绍了无法正确代码签名助手应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对我的帮助程序应用程序进行签名。

I'm trying to code sign my helper app.

我为其创建了一个单独的配置文件,它是有效和有效的。
我可以存档并导出它用于Mac App Store提交。

I've created a separate provisioning profile for it, it is valid and works. I can archive and export it for Mac App Store submission.

但是,当我运行主应用程序,并将辅助程序作为守护程序添加时,帮助应用程序开始运行,但它不能正常工作。

However, when I run the main app, and it adds the helper as a daemon, the helper app starts running, but it doesn't work properly. It pretty much does nothing...

当我禁用代码标志并离开沙箱时,帮助应用程序工作。

When I disable code sign and leave sandbox checked the helper app works.

我还得到一堆日志:

xpcd[236]: 
(null): have symlinks: (
)



日志2



Log 2

Not allowing process xxxx to launch "/Path/App.app/Contents/Library/LoginItems/Helper.app" because it has not been launched previously by the user



< h2> Log 3

Log 3

Not allowing process xxxx to register app "Path/App.app/Contents/Library/LoginItems/Helper.app" for launch.



日志4



Log 4

<rdar://problem/11489077> A sandboxed application with pid xxxx, "Helper" checked in with appleeventsd, but its code signature could not be validated ( either because it was corrupt, or could not be read by appleeventsd ) and so it cannot receive AppleEvents targeted by name, bundle id, or signature. Error=ERROR: #100013  { "NSDescription"="SecCodeCopyGuestWithAttributes() returned 100013, -." }  (handleMessage()/appleEventsD.cp #1755) com.apple.coreservices.appleevents.peer.0x7ff7d3b01a60.xpcq






推荐答案

解决方案



应用程式c $ c> / Applications 这个工作的文件夹...

Solution

The app HAS to be in the /Applications folder for this to work...

感谢 Tim Schroeder

这篇关于无法正确代码签名助手应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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