• 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: missing file or directory error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing file or directory error


  • Subject: Re: missing file or directory error
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 13 Jul 2007 14:09:47 -0700


On Jul 13, 2007, at 2:02 PM, Paul Archibald wrote:

Oh Bother.

I added a new file to my (java) project, and then changed my mind about which package group it should be in. I removed it and re-added it to the right package/group. Now I get a "missing file or directory" error. Xcode is looking for the file in the old directory.

So far as I can tell, the file is in the right Finder location, and is in the right project package/group. But when I try to build, I get a "missing file" error saying it can't find the file in the old package directory.

Is there some way to reset the path to this file? I have tried cleaning the project, removing and re-adding the file, restarting Xcode, and I have looked at the Target settings to see if the path is goofed up, but no luck.

Xcode probably "helpfully" added a path to the file's enclosing directory in one of its Header Search Paths when you added the file. Get Info on the target, go to the Build pane, choose "All Configurations," and filter on "search path" in the filter bubble. Look in each of the filtered entries and, if necessary, delete the added path.


Chris
_______________________________________________
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


References: 
 >missing file or directory error (From: Paul Archibald <email@hidden>)

  • Prev by Date: missing file or directory error
  • Next by Date: Odd Console messages after kernel panic
  • Previous by thread: missing file or directory error
  • Next by thread: Odd Console messages after kernel panic
  • Index(es):
    • Date
    • Thread