如果在使用cocoapod时出现“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”的错误的原因是:可能是要添加的这个库 不支持swift导致 。

解决方法:在podfile里面添加 use_frameworks!即:

platform :iOS, '8.0'

pod 'Alamofire', '~> 1.1'
pod 'Taplytics'
pod 'MBProgressHUD'
pod 'Atlas'

use_frameworks!

end