Re: Availability Macros, errors in cocoa headers?
Re: Availability Macros, errors in cocoa headers?
- Subject: Re: Availability Macros, errors in cocoa headers?
- From: Ricky Sharp <email@hidden>
- Date: Fri, 31 Dec 2004 06:30:39 -0600
On Thursday, December 30, 2004, at 11:40PM, Sean McBride <email@hidden> wrote:
>Ricky Sharp (email@hidden) on Thu, Dec 30, 2004 07:08 PM said:
>
>>Also reproduced it here (10.3.7, Xcode 1.5). The animationEffect param
>>is of type NSAnimationEffect. But that type is only defined if
>>MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3.
>
>Thanks for confirming my sanity :)
>
>>Definitely file a bug about this as there should be some mechanism in
>
><rdar://3936074>
>
>Well, at least things compile with -DMAC_OS_X_VERSION_MIN_REQUIRED=1020 -
>DMAC_OS_X_VERSION_MAX_ALLOWED=1030.
>
>But I still can't get my app to launch on 10.2. :( I use several 10.3-
>only things (bindings notably) but would like to at least get to main()
>on 10.2 then bring up a Carbon alert. I'm willing to forget about 10.0
>and 10.1.
FYI, it should be the case where the solution is having the LSMinimumSystemVersion key to your Info.plist. But unfortunately, the system fails to launch the app, doesn't bring up any alert and logs this to the console:
RegisterProcess failed (error = -50)
As an example, I add the following to TextEdit.app's plist
<key>LSMinimumSystemVersion</key>
<string>10.4.0</string>
and then launched in under 10.3.7
I've made a note to myself to file this bug later. While Apple can't go back in time and fix this, it would be nice that starting in Tiger, the system will do a better job of working with this key.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden