3

Assuming the following situation: In Xcode I have a project which is dependent on the targets of projects B and C. When I now build my project A with the standard build configurations Debug or Release, these settings are propagated to the build process of the dependant targets.

If I create a custom build configuration "Debug_custom" the dependant target builds use Release. This is not only concerning the configurations but also the locations where the results are build to. B and C are build to "Release_iponeos" while A is build to "Debug_custom-iphoneos". The Linker fails.

What I want is to propagate the build settings as well as the build location. Is this possible without creating a similar config for every single dependant taget?

Unfortunately, I cannot use the workspace concept for this, due to other technical restrictions.

Rene Berlin
  • 1,171
  • 7
  • 21
  • No. But a good option is to work with different targets instead of different configurations on a single target. This way some values can be inherited from the overall configuration and some can be explicitly set for the specific target. – Rene Berlin Apr 10 '12 at 16:30

1 Answers1

0

Have you looked into .xcconfig files?

Peter Y
  • 220
  • 2
  • 3