无法正确编码签名帮助应用程序

NSA*_*ict 6 macos cocoa objective-c

我正在尝试编写签名我的帮助应用程序.

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

但是,当我运行主应用程序并将辅助程序添加为守护程序时,帮助程序应用程序开始运行,但它无法正常运行.它什么都没做......

当我禁用代码签名并离开沙箱检查帮助应用程序工作.

我也得到了一堆日志:


记录1

xpcd[236]: 
(null): have symlinks: (
)
Run Code Online (Sandbox Code Playgroud)

记录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
Run Code Online (Sandbox Code Playgroud)

记录3

Not allowing process xxxx to register app "Path/App.app/Contents/Library/LoginItems/Helper.app" for launch.
Run Code Online (Sandbox Code Playgroud)

记录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
Run Code Online (Sandbox Code Playgroud)

NSA*_*ict 10

该应用程序必须在该/Applications文件夹中才能使用...

感谢Tim Schroeder!