无标题文章

2016-08-14  本文已影响20人  风林山火

在使用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
上一篇 下一篇

猜你喜欢

热点阅读