• 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: Linker refuses to link my dylib? Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker refuses to link my dylib? Why?


  • Subject: Re: Linker refuses to link my dylib? Why?
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 14 Feb 2007 17:22:12 -0700

Theodore H. Smith wrote:

>But then I tried a second target with the default BSD library
>templates. Neither worked.

All your targets, including new ones, inherit from your PROJECT's build
settings.  If the TARGET doesn't explicitly override the PROJECT settings
with its own, you get the PROJECT settings.

This is why I made it a point to describe how to change prebinding in the
PROJECT settings, including what to look for in the window title bar.  The
windows themselves are very similar, and if you don't have the right
window, reality won't match expectations.

Xcode Help has a page which explains and diagrams the settings inheritance.
It's fundamental to understanding how Xcode works.

You can retrieve the page by entering this into the Xcode Help "Full-Text
Search" field:
  build setting evaluation

The top hit in the search results should have exactly that text as the page
title.

You might also want to look at Troubleshooting Build Settings, another page
in Xcode's builtin help.  Indeed, it may be worth reading the whole section
(several pages) on build settings.

  -- GG


 _______________________________________________
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

  • Prev by Date: Re: Linker refuses to link my dylib? Why?
  • Next by Date: Re: Linker refuses to link my dylib? Why?
  • Previous by thread: Re: Linker refuses to link my dylib? Why?
  • Next by thread: Re: Linker refuses to link my dylib? Why?
  • Index(es):
    • Date
    • Thread