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.

And of course I have no way to "break on auto_refcount_underflow_error to 
debug", because the error doesn't happen under 10.7, and I can't set a 
deployment target of 10.7 when running under 10.6.

So for now, the easy way out is to keep the deployment target at 10.6. But I'd 
be interested in any other thoughts/suggestions.

-- 
Shane Stanley <[email protected]>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to