• 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: Silencing linker warnings in xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silencing linker warnings in xcode


  • Subject: Re: Silencing linker warnings in xcode
  • From: Christiaan Hofman <email@hidden>
  • Date: Fri, 21 May 2010 15:04:45 +0200

On May 21, 2010, at 14:12, Chris Suter wrote:

> Hi Chris,
>
> On Fri, May 21, 2010 at 2:17 PM, Chris Espinosa <email@hidden> wrote:
>
>> This warning is relatively new in the linker.
>> The conditions to invoke it are very old.  Usually you can eliminate it by
>> removing the unneeded path from FRAMEWORK_SEARCH_PATHS or
>> LIBRARY_SEARCH_PATHS.
>> There is no way to specifically disable this warning, other than to disable
>> all linker warnings.
>
> Unfortunately, Xcode seems to automatically add -L
> $(BUILT_PRODUCTS_DIR) & -F $(BUILT_PRODUCTS_DIR) and so you'll get a
> warning the first time you link stuff before the build directory has
> been created, which is a slight issue for our build server which does
> clean builds.
>
> I haven't looked extensively yet, but there doesn't appear to be an
> easy way of disabling this automatic behaviour. Assuming I don't find
> an easy fix, I'll radar it.
>
> Kind regards,
>
> Chris

This is not the exact problem, and in fact I think this is the proper thing to do. The problem is really that they do not do this enough, IMHO they should also do this for the build location of cross projects, because that's where frameworks from cross projects are built.

Christiaan

 _______________________________________________
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: 
 >Silencing linker warnings in xcode (From: Christiaan Hofman <email@hidden>)
 >Re: Silencing linker warnings in xcode (From: Chris Espinosa <email@hidden>)
 >Re: Silencing linker warnings in xcode (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Silencing linker warnings in xcode
  • Next by Date: Re: How to locate which are not declared in header methods
  • Previous by thread: Re: Silencing linker warnings in xcode
  • Next by thread: Xcode automatically deletes the file XCodeMakesMeSick.pbxindex
  • Index(es):
    • Date
    • Thread