launchApplication: giving error -10827 ?
launchApplication: giving error -10827 ?
- Subject: launchApplication: giving error -10827 ?
- From: Uli Kusterer <email@hidden>
- Date: Wed, 9 Dec 2009 18:24:38 +0100
I'm trying to debug a few changes in Sparkle I made, and I'm having a problem where, sometimes at least, I get an error message when Sparkle's relaunch tool tries to start up the newly installed application:
[[NSWorkspace sharedWorkspace] openFile: appPath];
When this line is hit, I get the following in the console:
LSOpenFromURLSpec() returned -10827 for application /Volumes/Hull/SVN/repo/MyApp2/Output/MyApp DBG.app path (null).
The call returns NO, so it obviously knows it failed. The error seems to be kLSNoExecutableErr, which isn't true, because I can see the executable there, and I can double-click the app in Finder just fine. Anyone know what the reason for this message could be, or even how I can get fix it?
Since I'm launching an app, I also tried to use -launchApplication: instead, but the results were identical.
Cheers,
-- Uli Kusterer
"The witnesses of TeachText are everywhere..."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden