• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No such file or directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file or directory


  • Subject: Re: No such file or directory
  • From: John Pannell <email@hidden>
  • Date: Mon, 2 Jan 2006 20:55:34 -0700

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:
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>)

  • Prev by Date: Re: iCal parsing using Cocoa/Objc
  • Next by Date: iCal parsing using Cocoa/Objc
  • Previous by thread: Re: No such file or directory
  • Next by thread: Dragging Images Outside an NSTextField
  • Index(es):
    • Date
    • Thread