• 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: Programs' following -F not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programs' following -F not found


  • Subject: Re: Programs' following -F not found
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 8 Feb 2010 06:18:20 -0600

On Feb 7, 2010, at 5:34 PM, Keith Blount wrote:

> Sorry for what is bound to be a dumb question, but I finally got around to updating to the latest version of Xcode and suddenly I'm seeing this compile warning:
>
> ld: warning: directory '/Users/myusername/MyFolder/MyProgramName/../../../Programs' following -F not found
>
> Everything was compiling fine before, but clearly this is telling me that a folder can't be found, and it's bound to be something I've set somewhere myself at some point (it's a large project that represents years' worth of work, so I bet it's just something that was set a while back and needs resetting, but given all the ../../ in the path I can't see where).
>
> Does anybody know exactly what "following -F not found" means?

This complaint is coming from the "ld" program, which is the linker.  That's why the line is prefixed with "ld:".  The -F option to the linker informs it of directories, in addition to the standard locations, in which is should look for frameworks.

The warning is saying something specified a framework search directory which doesn't exist.  It's only a warning because, unless the failure to find that directory also prevented the linker from finding a framework, everything can still build correctly.  However, it's worth warning about because maybe you meant the linker to find one framework in the specified directory and it found a different framework of the same name in a different directory.

If you didn't/don't intend to tell the linker to look anywhere in particular for frameworks, then the case the linker is concerned about is not relevant.

Still, you should check the Framework Search Paths setting in the build settings for your project and target(s).  Xcode may have automatically added a search path if you ever added a framework to a target that wasn't in the usual place.  If you later removed that framework, Xcode does not automatically remove the search path.

Cheers,
Ken

 _______________________________________________
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

  • Follow-Ups:
    • Re: Programs' following -F not found
      • From: Keith Blount <email@hidden>
References: 
 >Programs' following -F not found (From: Keith Blount <email@hidden>)

  • Prev by Date: Is there a UTI for OPML files?
  • Next by Date: Re: Programs' following -F not found
  • Previous by thread: Programs' following -F not found
  • Next by thread: Re: Programs' following -F not found
  • Index(es):
    • Date
    • Thread