How to archive/export Framework in Xcode?

后端 未结 2 556
春和景丽
春和景丽 2021-02-02 09:27

I have a project with a framework target, but when I archive, the framework does not show up in organizer. I checked apple for documentation, but only found reference for static

相关标签:
2条回答
  • 2021-02-02 09:56

    Go into your framework and build.

    cmd+b

    You will find in your products YOUR_FRAMEWORK.framework

    Right click on "YourLibrary.framework" -> Show in Finder

    Now you can share/import your library.

    Attention: Don't link/reference to this path because the framework is stored in Derived Data.

    0 讨论(0)
  • 2021-02-02 10:03

    The only thing you should do is build the target,then show Products in finder ,you will see it.

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