Adding Frameworks to an Xcode Project


A lot of Xcode projects require you to add additional frameworks to link against. Here’s how:

  1. Select the main project listing in the left column.
    Select Project

    Select Project

  2. Select Build Phases from the tabs near the top.
    Build Phases Tab

    Build Phases Tab

  3. Click the ‘+’ button in the “Link Binary With Libraries” section (you may have to twist it open.
    Select Frameworks

    Select Frameworks

  4. Choose the framework(s) you want to add, and click the “Add” button.
    Add Frameworks

    Add Frameworks

About these ads
Leave a comment

4 Comments

  1. Drew

     /  June 19, 2012

    Thanks for the quick tutorial. I always have one issue with adding frameworks. When I add them they end up on the top level of my navigation bar. I don’t like them cluttering my navigation up, so I drag them into my frameworks folder. This then “delinks” them from my project. Then I have to remove them from the linked library list and drag the copies that are now in my frameworks folder into the linked library list. I must be doing something wrong. Any suggestions? Does that make sense? Thanks Andrew Wells

    Reply
    • Yeah, that makes sense. It seems like that’s a bug with Xcode, and that it’s only cosmetic—it still works (you may have to quit and relaunch Xcode).

      Reply
  2. I’m wondering why I didn’t come to your amazing blog earlier. Thanks so much for the elaborate tutorials. I’ve added your blog to my blogroll.

    Reply
  1. The Jungle, Part 7: Quartz Demos (Section 1 of 3) « Programming for iOS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

  • Welcome

    My goal is to make CupsOfCocoa into a beautiful source for beginners to the iPhone platform to get started. Subscribe below for more, and stay tuned!

  • Contact Me

    If you need to contact me for any reason, feel free to send me an email.
  • The Giving Spirit

    If you've found this site helpful, would you consider donating a little sum? Any amount is appreciated...Thanks so much!

  • Roadmap

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 226 other followers

  • Back to the Past

    June 2012
    S M T W T F S
    « May   Jul »
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
  • Time Machine

  • You count!

    • 590,881 views
  • Worldwide Stats

    free counters
Follow

Get every new post delivered to your Inbox.

Join 226 other followers

%d bloggers like this: