Linking build configurations from multiple Xcode projects together
Linking build configurations from multiple Xcode projects together
- Subject: Linking build configurations from multiple Xcode projects together
- From: "Mattias Arrelid" <email@hidden>
- Date: Thu, 26 Jun 2008 10:07:41 +0200
Good morning folks,
We have an Xcode project that includes several other Xcode projects.
Let's call this the MAIN project. The main project has three
configurations, "Debug", "Release" and "Distribution". Some (but not
all) of the included Xcode projects are maintained by us, so they also
got these three configurations. So far, so good.
Now, the problem arises when we include some other Xcode project that
we do not maintain ourselves - let's call this project the OTHER
project. This project might have other configurations than ours. Let's
pretend that one such project has configurations "Development" and
"Deployment". Now, how will these configurations map against our
configurations? Consult the Xcode User Guide [1] for the answer (see
the "Managing Build Configurations" section):
"...the default build configuration is used when the project being
built does not have a definition for the active build
configuration..."
So, if I'm trying to build a target in our main project, with let's
say the "Release" configuration, the other project's target that we're
depending on will be built with that project's default setting - which
is usually some sort of development configuration. Currently, we're
working around this in a pretty ugly fashion; since we do have the
other project on _our_ physical disks (read writable) we can change
the default configuration of any project to match whatever we would
want for our release builds. However, this isn't optimal at all.
Is there some way that you can tell Xcode that my configuration "X" in
the main project should use configuration "Y" from the other project?
Regards
Mattias
[1]. http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_05_build_configs/chapter_34_section_1.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden