如何在Xcode中归档/导出Framework? [英] How to archive/export Framework in Xcode?
问题描述
我有一个带有框架目标的项目,但是当我存档时,该框架没有显示在组织器中.我检查了苹果的文档,但只找到静态库参考 .
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.
有人曾经经历过吗?
这是我当前方案设置的屏幕截图
Here are screenshots of my current scheme settings
推荐答案
进入您的框架并进行构建.
Go into your framework and build.
cmd+b
您会在产品中找到YOUR_FRAMEWORK.framework
You will find in your products YOUR_FRAMEWORK.framework
右键单击"YourLibrary.framework"->在Finder中显示
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.
这篇关于如何在Xcode中归档/导出Framework?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!