Could not find auto-linked library 'swiftUIKit'

因为原项目中都是OC文件,没有Swift桥接。
解决方法:
在项目中创建一个swift文件,会自动生成桥接
空文件就行,不需要有代码,比如这个:

再编译就可以了
Could not find auto-linked library 'swiftUIKit'
因为原项目中都是OC文件,没有Swift桥接。
解决方法:
在项目中创建一个swift文件,会自动生成桥接
空文件就行,不需要有代码,比如这个:
再编译就可以了
本文标题:Flutter使用Swift库与OC混编报错
本文链接:https://www.haomeiwen.com/subject/gghgyltx.html
网友评论