Just the debug BUILD_VARIANT?
Just the debug BUILD_VARIANT?
- Subject: Just the debug BUILD_VARIANT?
- From: Calum Robinson <email@hidden>
- Date: Tue, 31 Aug 2004 17:48:42 +0100
If I set the BUILD_VARIANTS to "debug" only (i.e. no "normal" variant),
then my framework builds OK. The top-level folder in the framework
bundle doesn't include a symlink to the FooLib_debug executable file,
but I hoped gcc/ld/XCode would be able to cope with this anyway.
However, when I try to build my app (which links against
FooLib.framework) ld fails because it can't find FooLib.framework. The
framework exists, and the FooLib_debug executable is valid, it's just
that ld doesn't seem to respect the BUILD_VARIANTS setting (I think). I
tried setting DYLD_IMAGE_SUFFIX but ld doesn't respect that either.
If I add "normal" to BUILD_VARIANTS, then everything works OK, although
now I have a "FooLib" executable in my framework that is exactly the
same as the "FooLib_debug" one, which is not what I want. The
non-suffixed executable should never be a debug version, as I don't
want it to be released accidently.
The answer would seem to be to build the release version first, but I'd
rather not double my build times when debugging. Have I missed some
setting in XCode, or does anyone have a work-around?
Calum Robinson
http://www.zonic.co.uk
_______________________________________________
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.