Cocoa Touch Framework vs Cocoa Touch Static library

前端 未结 1 1642
忘了有多久
忘了有多久 2020-12-28 14:34

Any comment on Cocoa Touch Framework vs Cocoa Touch Static library?

Can you distribute a Framework like a static library without source code?

相关标签:
1条回答
  • 2020-12-28 15:06

    Cocoa Touch framework support was added in Xcode 6 primarily to support App Extensions in iOS 8 and Mac OS 10.10. App extensions have to be built as Cocoa Touch frameworks.

    Frameworks also require less manual work to set up in a project than static libraries, although CocoaPods largely takes care of these pain points.

    Frameworks can be - and are by by default - built without the source code in the build target. Usually only header file(s) are in the target. Therefore, you could create and share a binary only Framework.

    0 讨论(0)
提交回复
热议问题