October 7, 2011

Xcode: How to add a new framework into my Xcode project

I figured I shall start documenting my IOS programming experiences with something simple but yet necessary. You will want to add new frameworks whenever you introduce things into your app that does not come with the default project package. So things like videos or audio will require their corresponding frameworks.

Having said so, surprisingly it took me awhile before I found out how to do this for Xcode 4. There are articles telling you how to do this for Xcode 3 but not for the latest version.


On the left bar, select your project -> TARGETS -> Build Phases -> Link Binary With Libraries.




This is where the current frameworks required by your project are listed and will be compiled together by the compiler when you build the project.

Press "+" and add the new framework you want.



No comments:

Post a Comment