I have an Xcode iPhone project with 3 configurations, debug, release and adhoc. What I need to do is include a resource file only for the debug builds, and not for the others. Can anyone tell me how to do this please?
I know I can have different project settings and preprocessor directives per configuration, and different resource files per target, but I need to only have one target.
Thanks,
Steve
I don't think it's possible without creating a second (or third) target, and putting config-specific resources in its Copy Bundle Resources step.
Alternatively, you could copy all resources in your existing target, and then use a post-build step to selectively delete unrelated resources, but you'll incur some overhead, and it's not exactly an elegant solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With