Is it possible to convert dynamic framework to static library in Xcode?

后端 未结 1 723
野性不改
野性不改 2021-02-14 09:29

Is it possible to convert dynamic framework to static library?

The problem is that I don\'t have a source code of framework, but only SomeFramework.framework

相关标签:
1条回答
  • 2021-02-14 10:00

    Create a "Cocoa Touch Framework" and add your .framework to the "Linked frameworks and Libraries" then you can:

    • Go to Build Settings > Match-O Type > choose what you want...

    or

    • you can also add a "static library" as new target of your dynamic framework.

    Don't forget to add the modulemap / Umbrella to expose what you want.

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