我正在关注this steps并且工作完美,但我需要一些额外的东西。
每次我进行任何更改时,都需要从父项目中删除 .framework
文件,然后转到框架项目并再次生成构建,然后再次拖放到父项目中
.
It's possible make a reference in where only need run the
framework
project to see the changes in the parent project without need follow all this steps?
最佳答案
在您的框架项目中构建您的框架,右键单击构建文件夹中的.framework文件,在finder中显示,将其拖到您的父项目中,在打开的窗口中取消选中“复制项目” ... “选项。 这将创建对您的框架构建文件的引用,而不是副本。
关于ios - 在 Swift 中使用框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36920837/