在使用cocoapod導入Swift第三方時出現(xiàn)這樣的問題:
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