Re: Xcode 4.0.1
Re: Xcode 4.0.1
- Subject: Re: Xcode 4.0.1
- From: Quincey Morris <email@hidden>
- Date: Sun, 27 Mar 2011 14:06:48 -0700
On Mar 27, 2011, at 13:49, Eduardo Poyart wrote:
> I got it to fail not by checking the "recursive" box, but simply by starting my header search path with something like "../..".
>
> I need that to access files outside of my project. The path points to the right place and the project builds, but the indexer doesn't work.
>
> Using an absolute path or starting the path with ${SRCROOT} fixes it.
My recursive path also went outside the project folder. It was "$(SRCROOT)/../Another Xcode Project Folder/".
So maybe it wasn't the recursive path, but the fact that it went outside the project hierarchy. It can't be exactly that, though, because my project indexed when the above path wasn't recursive.
Of course, it wouldn't build, because the requisite header files were further down in the out-of-project directory tree. It still indexed OK because, I suppose, the other project was in the the same workspace. And the other project (which didn't have this header search path at all) always indexed properly.
So, perhaps the problem is something like this:
"If Xcode tries to index a header file for a specific project via a path that takes it outside of the project's folder, it gives up and stops indexing the project."
I think that would cover both our scenarios.
_______________________________________________
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