OC通过Pod引入Swift写的三方库,提示Unable to determine Swift version for the following pods:

1,196 阅读1分钟

[!] Unable to determine Swift version for the following pods:

- `install_plugin` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the
author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

在OC项目中新建一个swift文件,会提示是否创建swift桥接文件,选择Create Bridging Header;