“无法确定以下广告连播的Swift版本” -错误 [英] 'Unable to determine Swift version for the following pod" - Error
本文介绍了“无法确定以下广告连播的Swift版本” -错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装 pod'SVProgressHUD'
可可豆荚,但是在安装豆荚文件时出现以下错误。
I am trying to install pod 'SVProgressHUD'
cocoa pod, but it is giving following error while installing pod file.
[!] Unable to determine Swift version for the following pods:
- `HexColors` does not specify a Swift version and none of the targets (`FaveoHelpdeskPro_ObjC`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
如何解决此问题?
推荐答案
尝试通过包含
ENV ['SWIFT_VERSION'] ='5'
在Podfile的顶部。
ENV['SWIFT_VERSION'] = '5'
at the top of your Podfile.
这篇关于“无法确定以下广告连播的Swift版本” -错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文