• 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 Xcode "User Libraries" build setting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No Xcode "User Libraries" build setting?


  • Subject: Re: No Xcode "User Libraries" build setting?
  • From: Carl Hoefs <email@hidden>
  • Date: Wed, 12 Mar 2014 11:52:24 -0700

On Mar 12, 2014, at 11:43 AM, Kyle Sluder <email@hidden> wrote:

> On Wed, Mar 12, 2014, at 11:36 AM, Carl Hoefs wrote:
>> Newb Question. Under which build setting in Xcode 5.1 am I to place
>> reference to user libraries (/opt/local/lib, /usr/local/lib, etc) that my
>> OS X project is to link against?
>>
>> I've yet to discover anything resembling "User Libraries To Link With",
>> so I'm having to stuff "-lxxxx -lyyyy -lzzzz" etc. into "Other Linker
>> Flags", which works, but makes me feel I'm missing something much more
>> obvious...
>
> Open the Build Phases tab of the Project editor. Expand the Link Binary
> with Libraries phase. Click the plus button and choose Add Other.
> Navigate to the library you want to link against.
>
> Now select that library in the phase and open up the File inspector
> (right-side pane). Change  "Relative to group" to "Absolute path".
> (Otherwise moving your project around will break your dependencies.)

Heh, I never thought to look there...
Thanks Kyle.
-Carl

 _______________________________________________
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: 
 >No Xcode "User Libraries" build setting? (From: Carl Hoefs <email@hidden>)
 >Re: No Xcode "User Libraries" build setting? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: xcodebuild fails to "load dependencies output contents"
  • Next by Date: "Automatic" architecture selection forgets 32-bit Intel Macs
  • Previous by thread: Re: No Xcode "User Libraries" build setting?
  • Next by thread: "Automatic" architecture selection forgets 32-bit Intel Macs
  • Index(es):
    • Date
    • Thread