Skip to main content

Xcode 3.1 Addition: Adding Libraries to Target

·1 min

Xcode 3.1 added a feature that simplifies adding dynamic libraries to an Xcode project. When you open a target’s information panel and click the General tab, the information panel shows the frameworks and libraries that will be linked to the target when you build it.

To add a library or framework to the target, click the + button. A sheet opens with a list of all the frameworks, dynamic libraries, and object files for the active SDK you’re using. Select the libraries and frameworks you want to add, and click the Add button.

If you want to add a third party library or framework that’s not part of the SDK you’re using, click the Add Other. An Open File dialog box will open, which you will use to navigate to the location where the library or framework resides.