说明:改文章适用于oc 桥接导入swift三方,且用cocoapods管理三方时遇到的情况;
use_frameworks!
必须在podfile文件加入此语句参考资料1
2导入三方后,编译会报错,提示将所有的<>
替换成""
3.以Charts为例,报错
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
解决方法:
4.解决完后,报错
解决方法见参考资料3