search by tags

for the user

adventures into the land of the command line

adding an external library to your xcode project

In an iOS project I’m working on, I wanted to put some geeky data charts onto a view. Luckily I found a cool library called “Charts” here. So I totally downloaded a copy then I was all like… hmm how do I add it to my project? 
Here’s how:

I extracted the files to the root of my project’s directory.

Then in Xcode, I added the Charts .xcodeproj file underneath the main project one anywhere.

Like this:

Then on the project’s .xcodeproj file, under the Embedded Binaries option, add the library

This one:

It’ll show up here:

Then, you can do a simple import into your project. Success!