Specifying a subproject's Configuration in Xcode

Viewed 5292

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?

4 Answers

You can specify the default 'fallback' configuration in the project info.

Change from:

Use 'Release' for command-line builds.

to:

Use 'Debug' for command-line builds.

And default will be 'Debug'.

Diffs of project file: Diffs of project file

Related