Adding libraries to / usr in xcode

I am trying to add the static libraries found in / usr to an xcode project. (I'm new to mac dev).

The problem is that this is a hidden directory, and so normal adding to the project does not work, and although I can change the project settings to add include directories, there seems to be no obvious way to add the actual libraries.

Do not copy the libraries around or open / usr dirs (which may not be the right solution). I do not understand.

TIA

+5
source share
2 answers

Shift cmd gallows you to enter any path, for example. / usr, and then from there.

or

Locate the file in the Finder and drag it from the Finder and open the open file dialog

+8

goto ( Cocoa open/save): ⌘⇧G. unix, /usr , voilà!

+2

All Articles