Doesn't work on 10.9 Mavericks
This code no longer works under 10.9 Mavericks. Not sure what is wrong, I have been trying to figure it out...
Same problem :( did you ever find a solution to 10.9 ?
Yea I did. Try this. https://github.com/kdbdallas/SandboxedStartOnLogin
I wasn't able to reproduce this issue, please try the new build I've uploaded.
Same here. Not working on 10.9.
Sorry to hear that. What exactly isn't working? Have you just compiled and launched the app?
@timschroedernet Actually your code works ok when running it untouched, but when I try to reproduce the same functionality into a newly created xcode 10.9 project, it doesn't work. Followed your tutorial (great tutorial, BTW) a dozen of times. I'm still trying to get into the root of the problem, but no success, though.
Ok, I see the point. If you could provide to me your sample code of your newly created Xcode project, I would be happy to have a look?
@timschroedernet Absolutely. Made this one as simples as possible to better isolate and detect the problem. https://github.com/ghvillasboas/LaunchAtLogin Thanks.
@ghvillasboas Your sample project works like a charm and launched at login on my machine. Of course, I had to
- move the app to the
/Applicationfolder and to - code-sign the targets with my Developer ID certificate,
as described in my readme file. If you've also done this, I can't tell why it doesn't work for you.
@timschroedernet Thank you for viewing my code Tim. This is very odd, unfortunately. I moved it to the app folder and code-signed it as recommended. But didn't worked as expected. The strange thing is that when I open the contents of your .app and run the HelperApp manually, the MainApp launches. On my code that doesn't happen. I'll try another machine with a fresh xcode copy tomorrow. But thanks anyway. Best. G.
@timschroedernet Sorry about the delay on the feedback. Busy month. Turns out that my issue was indeed a problem with my Xcode copy. Possibly due some private plugins we use in our development process. Testing on a fresh install of Xcode worked like a charm. Thanks.