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.