On Sep 7, 2011, at 9:54 AM, Chris Hanson wrote:
> 
> I don't understand - above you say you set your Deployment Target to 10.7 and 
> then ran your code under 10.6.

Oh dear -- the caffeine hasn't kicked in down here yet. I meant Base SDK when I 
said Deployment Target. Let me try again:

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 Base SDK 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 when I run the same binary under 10.7, and they don't 
happen under 10.6 if I change the Base SDK to 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 Base SDK 
of 10.7 when running under 10.6.

So for now, the easy way out is to keep the Base SDK 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