El 10/12/2003, a las 16:26, Fraser Speirs escribis:
Rob Minnis pointed me off-list to a part of the release notes which
explain how to do what we want. To summarise (and I've just done it
for my project):
1. Add the other frameworks' project files to your project
2. Inspect the target which depends on the frameworks
3. In the General tab, click ( + ) under Direct Dependencies and you
should see a sheet with a list of all the targets in your project and
all the projects it contains.
4. Add the depended-on targets.
Note that the release notes say "This feature works best when all
linked projects share a central build directory".
Yes, this works for me. But as Frank Midgley said:
The only problem with it is that the dependent projects don't
currently inherit the build style of the top level target. You have
to open each of the projects and manually set them.
One way of avoiding this problem is to add use the command line
(xcodebuild) to do the building of the frameworks, because from there
you can specify the buildstyle.
In other words, have a Shell Script Build phase which issues one
xcodebuild command when the Development build style is active, and
another when the Deployment build style is active...
Downside to this is you lose your nice drag-and-drop/GUI interface,
and you also lose the automated management of the dependency tree (ie.
the framework is re-built every single time, even if there were no
changes).
I am certainly hoping that Apple fixes this little issue soon, because
opening the other projects and manually setting the build style is a
bit of a hassle...
Cheers
Greg
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.