Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
- Subject: Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
- From: Chris Hanson <email@hidden>
- Date: Tue, 06 Sep 2011 16:54:38 -0700
On Sep 6, 2011, at 4:50 PM, Shane Stanley wrote:
> On Sep 7, 2011, at 9:31 AM, Chris Hanson wrote:
>>
>> You should set your Base SDK to the most recent OS whose features you are going to use (in this case 10.7) and set your Deployment Target to the least recent OS you want to run on (in this case 10.6).
>
> I have a GC app written under 10.6 (which it requires as a minimum because it uses a small amount of AppleScriptObjC). I have updated it to support versioning and the find bar when run under 10.7. When I set the deployment target to 10.7 and run the result under 10.6, I get regular "malloc: reference count underflow for 0x200796140, break on auto_refcount_underflow_error to debug" errors. They don't happen under 10.7, and they don't happen under 10.6 if I set a deployment target of 10.6.
I don't understand - above you say you set your Deployment Target to 10.7 and then ran your code under 10.6. Don't do that. *****Deployment Target and Base SDK are different.*****
-- Chris
_______________________________________________
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