does adding static library need xcode project of static library for linking?

Posted by mirdad on Stack Overflow See other posts from Stack Overflow or by mirdad
Published on 2013-06-26T10:18:42Z Indexed on 2013/06/26 10:21 UTC
Read the original article Hit count: 200

Filed under:
|
|
|

I have seen some static library projects in iOS.I see two different types of linking static library.

1)adding .a static library to new xcode project and its header files only.

2)adding .a static library to new xcode project and adding the xcode project through which static library has created.

when I remove the the xcode project through which static library has created from the 2nd project, it gives error.I tried first approach for 2nd one.But it is not working.

Can you please explain why it is differed? Will it be differed by the xcode versions we use? is The second approach for old xcode versions?

© Stack Overflow or respective owner

Related posts about ios

Related posts about xcode