Re: cross development, missing methods
Re: cross development, missing methods
- Subject: Re: cross development, missing methods
- From: Ken Thomases <email@hidden>
- Date: Wed, 8 Oct 2008 04:26:31 -0500
On Oct 7, 2008, at 11:19 AM, Robert Nikander wrote:
I was hoping I could get the compiler to warn me about these
things. Is there a compiler flag that helps? Or should I forget
about the "Deployment Target" build setting and create multiple
targets or projects that use different SDKs?
Create a new build settings configuration for testing for such
symbols. In your real deployment configuration, continue to use the
10.5 SDK and the 10.3 deployment target. However, in your testing
configuration set the SDK to 10.3 as well. This will cause either
warnings or errors for stuff that wasn't implemented on 10.3. As you
find each, modify the code to work in the case where the new API isn't
available (-respondsToSelector:, etc.).
Cheers,
Ken
_______________________________________________
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