在使用cocoapod导入Swift第三方时出现这样的问题:
Pods written in Swift can only be integrated as frameworks; add use_frameworks! to your Podfile or target to opt into using it. The Swift Pod being used is: Charts
一开始我安装oc的配置方法:
target 'Swift_WeiBo' do
pod 'AFNetworking', '~> 3.0'
pod 'QorumLogs', '~> 0.8'
end
->
target 'Swift_WeiBo' do
pod 'AFNetworking', '~> 3.0'
pod 'QorumLogs', '~> 0.8'
use_frameworks!
end