• 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
conditional resources?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

conditional resources?


  • Subject: conditional resources?
  • From: Jean-Denis Muys <email@hidden>
  • Date: Wed, 15 Jun 2011 09:31:04 +0000
  • Thread-topic: conditional resources?

I have a settings bundle in my iOS project with Xcode 4. I would like the debug version to include debug-related settings, but not release version. How can I do that, the equivalent of an #ifdef DEBUG, but for resources?

I suspect I must have two versions of my resource in my project, but how can I tell Xcode to include resource.xxx for the release configuration, and resource_debug.xxx for the debug configuration?

Note that the requirement is also there for nib files, and perhaps others...

Thanks,

Jean-Denis

 _______________________________________________
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: conditional resources?
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: What is up with the failure to indicate when execution has stopped at a breakpoint?
  • Next by Date: Re: conditional resources?
  • Previous by thread: Re: What is up with the failure to indicate when execution has stopped at a breakpoint?
  • Next by thread: Re: conditional resources?
  • Index(es):
    • Date
    • Thread