Re: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
Re: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
- Subject: Re: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 23 Jan 2008 08:49:32 -0800
On Jan 23, 2008, at 7:39 AM, E. Wing wrote:
I am working on some stuff that is dual mode garbage (un|)collected.
When I run these in Xcode, it always launches in garbage collected
mode. Is there a way I can choose/control whether Xcode launches in GC
or non-GC mode (without rebuilding the app under 'unsupported')? I
have been searching the documentation and release notes and cannot
find any mention of this.
If the code is in a framework, then you can create a simple tool
target that links against said framework and is configured to run in
GC or non-GC, as desired.
If it is an app or tool, you can use the OBJC_DISABLE_GC environment
variable to force it off. But this raises the question of why you
are writing a dual mode tool or app?
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden