swift安装cocoapod遇到的一些坑
发布时间:2020-12-14 01:30:38 所属栏目:百科 来源:网络整理
导读:给swift安装cocoapod花了半天时间,真是各种坑,先是遇到443问题,这个是网络问题,后来又出现:[!] 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
给swift安装cocoapod花了半天时间,真是各种坑,先是遇到443问题,这个是网络问题,后来又出现:[!] 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 and SwiftyJSON 去stackoverflow搜了发现要在Podfile加上 use_frameworks!
加完之后我的Podfile是这样: platform :ios,'8.0'
恩,这样就没问题了 附上stackoverflow解决方案的链接:http://stackoverflow.com/questions/29091522/error-running-pod-install-with-swift (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |