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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to