SMLoginItemSetEnabled for sandboxed app

November 11, 2013 — Leave a comment

Trying to set up LaunchAtLogin feature for CodeGofer app I ran into issue. Call to SMLoginItemSetEnabled generated this message in Console:
Attempt to enable file://localhost/Applications/CodeGofer.app/Contents/Library/LoginItems/CodeGoferHelper.app without sandbox from sandboxed app. After some experiments turned out that sandboxing wasn’t enabled for CodeGoferHelp.app target.

Googling for error message didn’t help so I’ll just leave it here along with solution for Google to pick up.

Oleksandr Tymoshenko

Posts

No Comments

Be the first to start the conversation.

Leave a Reply

*

Text formatting is available via select HTML. <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>