Specifying a subproject's Configuration in XCode
I have an XCode project ( A ) referencing another project ( B ). By default (as far as I understand it) XCode will implicitly build the configuration for the B dependency that matches the configuration of the A 's target (e.g., "Debug"). But what if I want, say, A to build as "Debug" and the B to build as "Release"? How would I go about specifying that in XCode? I don't know of any easy approach, but you can brute-force it by calling xcodebuild directly for the dependency with a "Run Script" build phase. I know it was just an example, but if your real goal is that the sub-project be a Release