[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfil

前端之家收集整理的这篇文章主要介绍了[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfil前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

[!] 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!

原文链接:https://www.f2er.com/swift/324018.html

猜你在找的Swift相关文章