How to archive/export Framework in Xcode?

后端 未结 2 555
春和景丽
春和景丽 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.

提交回复
热议问题