• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
      • From: "E. Wing" <email@hidden>
References: 
 >-fobj-gc ('Supported'), Controlling which mode Xcode runs your app in (From: "E. Wing" <email@hidden>)

  • Prev by Date: Re: Distributed builds & Mac Pro
  • Next by Date: Re: GUI for codesign tool?
  • Previous by thread: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
  • Next by thread: Re: -fobj-gc ('Supported'), Controlling which mode Xcode runs your app in
  • Index(es):
    • Date
    • Thread