1 报错: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 Pods being used are: ReactiveCocoa, ReactiveSwift, and Result
解决:在想应的pod 'ReactiveCocoa'下添加use_frameworks!
ps:注意use_frameworks!后面的!号
2 集成cocoapods的时候报错:'xxx' file not found with include; use "quotes" instead
解决:引用路径的问题,更改引用路径。例如:#import <JSONModel.h>,改成#import <JSONModel/JSONModel.h> 就可以了
3 集成cocoapods的时候报错:include of non-modular header inside framework module 'XXX': 'XXX' [-Werror,-Wnon-modular-include-in-framework-module]
解决:引用路径的问题,更改引用路径。例如:#import "JSONModel.h",改成#import <JSONModel/JSONModel.h> 就可以了