I have an XCode 2.0 project which builds an application that uses a "Copy Files" build phase to copy private frameworks into the application's package frameworks folder. These frameworks are built with other XCode 2.0 projects, externally to the application.
Naturally, I want to be able to copy the Development framework into the application package when I'm debugging and the Deployment framework when I'm compiling for release.
With XCode 2.0 this was trivial as all I had to do was build the frameworks with the appropriate build style I needed and XCode would pick up the right framework as there was only one directory they could be in i.e. the "build" folder. This isn't the case now as they end up in sub-folders of the build folder called, "Deployment" and "Development".
So, without resorting to shell script, how do I get my application project to copy the appropriate framework into its package?
Changing default build directories for XCode, in the app preferences, isn't going to fly either. This should "just work" from a clean virgin installation and a sync from the source control system as it does with XCode 2.0.