Re: No such file or directory
Re: No such file or directory
- Subject: Re: No such file or directory
- From: Jerry <email@hidden>
- Date: Mon, 20 Feb 2006 13:02:07 +0000
On 20 Feb 2006, at 12:47, Keith Alperin wrote:
Greetings XCoders!
I have a framework that I've created and use in my projects. Until
now, there was only one class in the framework, but i've just added
a second. However, when i try to build my project that relies on
the framework, I get a "MyFramework/MyNewClass.h: No such file or
directory" error at the line of my import statement. I do not get
an error when I import the other class from this framework. If I
look in the Groups & Files pane, under Linked Frameworks, I can see
my framework and my two header files (including the one that causes
the error). I've tried to clean all targets and for fun I
restarted XCode; both to no avail. To make matters even stranger,
when I create a new project, it imports the new classes just fine.
Has anyone seen this behavior before? Is there some type of cache
that i need to clear?
I posted this question to the cocoa-dev list a few weeks ago, but
figured this was probably a better forum for this question.
I'm not sure if this is related but I got a similar problem all the
time with non-Ant Java projects. If you delete or rename a source
file, Xcode still tries to build the old file and no amount of
cleaning the project makes any difference. Sometime quitting XCode
works, but sometimes a restart or log out/in again is required. There
definitely is a cache somewhere - there's one in /Library/Caches/
com.apple.Xcode.<user id> so that may be it. I got used to logging in
and out again all day until I discovered Ant-based Java projects an
since the, I've never looked back.
Jerry
_______________________________________________
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