iOS开发,使用Pods安装Swift版第三方库报`use_frameworks!`错误,如何处理?

iOS开发,使用Pods安装Swift版第三方库报`use_frameworks!`错误,如何处理?

[!] Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add `use_frameworks!` to your Podfile or target to opt into using it. 

解决方法:

platform:ios,’8.0’

pod 'AFNetworking'

pod 'MJRefresh'

pod 'XMLDictionary'

pod 'PureLayout'

pod 'iCarousel'

pod 'SnapKit'

pod 'RETableViewManager'

pod 'DZNEmptyDataSet'

pod 'SlackTextViewController'

pod 'MGSwipeTableCell'

use_frameworks!


参考下记地址:

http://stackoverflow.com/questions/29091522/error-running-pod-install-with-swift

你可能感兴趣的:(iOS开发,使用Pods安装Swift版第三方库报`use_frameworks!`错误,如何处理?)