如何在Swift项目中全局引用Framework?

2020-04-20  本文已影响0人  jzhang

方法一:

You should be able to import it globally by adding @_exportedbefore the import.
@_exported import Podname
However, like the previous posters mentioned, this is not recommended.

方法二:

在桥接文件中引用这个Framework(前提是混编项目)

相关资料:
How to import a Swift framework globally?

上一篇 下一篇

猜你喜欢

热点阅读