Re: conditional resources?
Re: conditional resources?
- Subject: Re: conditional resources?
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 15 Jun 2011 11:40:25 +0200
On Jun 15, 2011, at 11:31, Jean-Denis Muys wrote:
> 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
The only way to do that is using a script phase.
Christiaan
_______________________________________________
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