Copying Debug & Release frameworks to different app bundles
Copying Debug & Release frameworks to different app bundles
- Subject: Copying Debug & Release frameworks to different app bundles
- From: Michael Crawford <email@hidden>
- Date: Fri, 22 May 2009 03:34:05 -0700
Alan Shouls wrote:
> what I would like to do is just link my debug target against the dedug libraries and my
> release target against the release libraries
I have a similar problem, but in my case what I want to do is copy one
of three private frameworks into my application's bundle.
I have a debug build that only builds the current architecture, an
optimized and Universal release build, and what I call a "QA" build,
which is Universal and optimized, but also includes assertions.
What I want is to have the private frameworks from each build go into
the corresponding type of application bundle, but I haven't found a
way to do that. So what I'm doing for now is copying my QA frameworks
into all three kinds of applications.
A further complication is that I'm building in a separate directory
from all my projects. I have a cross-platform product that can also
be built on Windows and soon some other platforms as well.
In the root level of my source tree, I have a directory named Arch
that is initially empty. An Xcode build will put everything in
Arch/mac-os-x. A CodeWarrior for Windows build will put everything in
Arch/win32-x86.
The idea is that one can do a cross-platform "make clean" by deleting
the entire contents of the Arch directory.
I haven't tried to fiddle with it lately, but when I first set up my
Xcode build, there was something about building outside of the project
folder that gave me an awful lot of grief.
Mike
--
Michael David Crawford
mdcrawford at gmail dot com
GoingWare's Bag of Programming Tricks
http://www.goingware.com/tips/
_______________________________________________
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