How to archive/export Framework in Xcode?

早过忘川 提交于 2020-06-09 09:26:52

问题


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 libraries.

Has anyone experienced this before?

Here are screenshots of my current scheme settings


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/34271874/how-to-archive-export-framework-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!