Re: LSOpenFromURLSpec() returns -10825 on Tiger
Re: LSOpenFromURLSpec() returns -10825 on Tiger
- Subject: Re: LSOpenFromURLSpec() returns -10825 on Tiger
- From: Ken Thomases <email@hidden>
- Date: Fri, 13 Nov 2009 23:53:10 -0600
On Nov 13, 2009, at 1:24 PM, Mirko Viviani wrote:
Launching the app with open I get this error:
$ open /Applications/myapp.app
... LSOpenFromURLSpec() returned -10825 for application (null) urls file://localhost/Applications/myapp.app/
.
while launching the exe inside the application bundle works like a
charm. (the same app bundle has no problems on 10.5 and 10.6)
lipo tell me that it is compiled for ppc7400 and i386 with gcc 4.0
and xcode 3.2.1, 10.5sdk and deployment set to 10.4
LSMinimumSystemVersion is set to 10.4.10
That error, as you may know, is kLSIncompatibleSystemVersionErr.
I suspect this is a bug in Launch Services. Tiger set a precedent by
being the first version of the OS whose bugfix revision component
exceeded a single digit. At the time, this exposed bugs in a number
of places in various code. For example, anything which used the
gestaltSystemVersion selector to the Gestalt() routine could only
accommodate a single digit bugfix revision. Etc.
It may be that Launch Services in Tiger still has a bug in how it
obtains the OS version and compares it to LSMinimumSystemVersion. Try
setting your app's LSMinimumSystemVersion to 10.4.9 as a test. I bet
everything starts working as expected.
If you really require 10.4.10 at minimum, you may have to check the OS
version yourself on launch.
Cheers,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden