Swift pod install 的时候报错
[!] 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: Alamofire, CSNetManager, CocoaLumberjack, HanekeSwift, IQKeyboardManagerSwift, Kingfisher, RealmSwift, SnapKit, and SwiftyJSON
pod 更新之后,之前podfile的写法不能正常使用
Swift:
1. platform :ios, '8.0'
2. use_frameworks!
3. target '工程名' do
4. pod 'FMDB'
5. end
这样写就没问题了,试试吧
而且Swift 和 Object-C的podfile格式也不一样
Object-C:
1. platform :ios, '8.0'
2. target '工程名' do
3. pod 'FMDB'
4. end