Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file or directory



Hi Keith-

I had a similar error some time ago, and the issue revolved around spaces in the path to an included project/framework. In the target info, build tab, look for the "Framework Search Paths" and if there is a path to a custom location, make sure there are no spaces in it. If there are spaces, re-enter the desired path. There is something about adding a framework to a target (via drag and drop) that does not handle this properly, but just typing it out works fine.

Additionally, I was able to see this warning spelled out for me by viewing the build results window and looking in the pane that contains the console output. It had read my single path as three "subpaths" because of the spaces; the error message made this clear.

Of course, this may not be your issue at all, but I thought I'd toss this in there!

HTH!

John

John Pannell
Positive Spin Media
http://www.positivespinmedia.com

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.  Has anyone seen this behavior before?  Is
there some type of cache that i need to clear?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: No such file or directory (From: Ben Kazez <email@hidden>)
 >Re: No such file or directory (From: Keith Alperin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.