[!] 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: FBSnapshotTestCase
可能是要添加的这个库 不支持swift导致
解决办法:在podfile里面添加 use_frameworks!
platform
:ios, '8.0'
pod 'Alamofire', '~> 1.1'
pod 'Taplytics'
pod 'MBProgressHUD'
pod 'Atlas'
use_frameworks!
就是在加入你需要的那些库之后最后再加一句use_frameworks!
本文介绍了一种在Swift项目中遇到的Pod集成问题及其解决方案。当尝试将FBSnapshotTestCase库集成到项目时,出现了一个错误提示,指出该库只能作为框架集成。为了解决这个问题,需要在Podfile中添加use_frameworks!这一指令。
2586

被折叠的 条评论
为什么被折叠?



