Re: Debug link error in Release configuration
Re: Debug link error in Release configuration
- Subject: Re: Debug link error in Release configuration
- From: Greg Norz <email@hidden>
- Date: Fri, 21 Jul 2006 18:46:28 -0500
- Thread-topic: Debug link error in Release configuration
On 7/21/06 11:29 AM, "Greg Norz" <email@hidden> wrote:
> When first opening my project, the active build configuration is ³Release².
> If I go to build this, everything looks great. My Frameworks get built
> first, then the main app executable. However, when my app goes to link, it
> gets an error that it can¹t find the debug version of my Frameworks. I
> happen to name the debug versions with a suffix of ³_debug², and I end up
> with lines like this in the link phase :
>
> powerpc-apple-darwin8-g++-4.0.1:
> /Users/gregnorz/Source/Ding/Output/mac/Release/Xerces_debug.framework/Xerces
> _debug: No such file or directory
>
> Now, if I switch to the Debug configuration then back to the Release
> configuration (without acutally building the Debug config), the problem goes
> away. Has anyone else seen this? It's rather annoying as we see the problem
> on the command line as well, preventing us from getting a decent build
> script running.
>
> Any suggestions?
>
> greg norz
Here's maybe a better description, from a GUI point-of-view...
If I look at my project in Xcode, I see the Framework dependencies listed. I
include an external project in there (Xerces in this case) and it's output
is listed. By default, the Release configuration is active yet it is the
debug version of the Framework that is listed. Obviously this doesn't get
built in Release mode, so a link error occurs. Simply opening the Build
Results window, switching from Release to Debug and back to Release will
reset the dependencies and everything is perfect. Why, though, doesn't Xcode
understand this from the start?
Thanks,
greg norz
southwest airlines || southwest.com
email@hidden
DING! For Mac OS X and Windows @ www.southwest.com/ding
Wright is Wrong! - www.setlovefree.com
_______________________________________________
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