Mac OS沙箱:从帮助程序启动主应用程序 [英] Mac OS Sandbox: Launching main application from helper

查看:120
本文介绍了Mac OS沙箱:从帮助程序启动主应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在沙箱中创建了一个应用程序,该应用程序使用助手在登录时启动,如

I have create in sandbox, an app which use a helper to start at login, as presented here.

它可以正常工作,但接下来的消息将记录在控制台中:

It works ok, but the next messages are logged in the console:

lsboxd[1560]: Not allowing process 15208 to launch "/Applications/SandboxApp.app/Contents/Library/LoginItems/SandboxHelper.app" because it has not been launched previously by the user

lsboxd[1560]: Not allowing process 15208 to register app "/Applications/SandboxApp.app/Contents/Library/LoginItems/SandboxHelper.app" for launch.

我看到此消息是关于帮助程序的,但是我不知道该怎么做以防止它们.

I see that this messages are about the helper, but I don't know what to do, to prevent them.

我唯一担心的是,Apple可能会由于此消息而拒绝该应用程序.

My only concern is that Apple may reject the app because of this messages.

是阻止某人发出沙箱消息的人,还是向Apple发送并发送了引发沙箱消息的应用程序并被Appstore接受的人?

Is someone who prevent the raise of those sandbox messages, or is someone who sent an app, which raise sandbox messages, to Apple and was accepted on Appstore?

推荐答案

请参见

See http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/ - according to this it is a code-signing issue that probably won't be an issue with the AppStore build as the AppStore build gets resigned.

这篇关于Mac OS沙箱:从帮助程序启动主应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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