How to add statically created library in My application..?
I have created static library for testing. I have used: http://blog.boreal-kiss.net/2011/03/15/how-to-create-universal-static-libraries-on-xcode-4/#identifier_0_432
Its creat开发者_如何学编程ed sucessfully as test.a now i want to add this library in my application.
can anybody help me out for this?
- Open
Xcode
. - Click on project file (the first item in
Project navigator
) - Select one of appropriate
target
- Open
Build Phases
- Select
Link Binary With Libraries
- Add your library
check this link
http://www.amateurinmotion.com/articles/2009/02/08/creating-a-static-library-for-iphone.html
and go for Link binary, Direct dependency this will refer you static library to your xcode project .
精彩评论