Managing Static Library project as a module like Framework on iOS project in Xcode4.

Posted by Eonil on Stack Overflow See other posts from Stack Overflow or by Eonil
Published on 2011-06-19T05:42:12Z Indexed on 2011/06/24 8:22 UTC
Read the original article Hit count: 289

(Solution Note, I'll answer immediately)

Many people including me trying to make a kind of Static Library framework for iOS to archive some kind of modularity. Framework is best way to do this, but it doesn't provided by Apple, and workarounds don't work well.

https://github.com/kstenerud/iOS-Universal-Framework/tree/master/Fake%20Framework/Templates

  1. Fake framework cannot be referenced from linking tab in Build Phases.
  2. Real framework needs modification of system setting. And still not work smoothly on every parts.

Problem is static library need header files, and it's impossible to reference header files on project at another location on different project without some script. And script breaks IDE's file management abstraction.

How can I use static library project like a convenient module manner? (just dragging project into another project to complete embedding)

© Stack Overflow or respective owner

Related posts about xcode4

Related posts about project-management