Re: Xcode dependency handling
Re: Xcode dependency handling
- Subject: Re: Xcode dependency handling
- From: Douglas Norton <email@hidden>
- Date: Sun, 4 Feb 2007 08:56:51 -0800
On Feb 3, 2007, at 10:29 PM, Chris Espinosa wrote:
So, to be absolutely clear: <snip>
Actually, I was mistaken. The structure of my project has been
changed and I now see that my instance falls into the first scenario
you gave
Project
Windows ƒ
...
Mac ƒ
myProj.xcodeproj
Code ƒ
Application ƒ
headerThatIsNotSaved.h
headerThatIsNotSaved_MacImp.cpp
So, I save all the files, close all the editors, clean and build.
Full build completes properly.
I open 'headerThatIsNotSaved.h' and make a small change, do not
manually save, icon is dark (correctly).
Build.
All dependencies are checked, environment variables setup spools in
build window, and nothing else. Build succeeded in result window.
Manually save the header file, icon back to normal.
Build
The files dependent on the header are recompiled, build completes and
succeeds properly.
'headerThatIsNotSaved.h' is not in the project tree at all. I cannot
find it by selecting the project in Groups & Files and typing its
name in the search box. It is only referenced from several (12) .cpp
files by
#include "headerThatIsNotSaved.h"
This is 100% reproducible, and has workarounds. I will keep this as
is should you want me to investigate some more. I can also reproduce
this with file pairs whose .h & .cpp have the same name too. The
common factor is that the .h does not appear in anywhere in the
Groups & Files panel.
Douglas
_______________________________________________
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