'Unable to determine Swift version for the following pod" - Error

时间秒杀一切 提交于 2020-01-14 13:28:07

问题


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.

How I can resolve this issue?


回答1:


Try to set the Swift version by including

ENV['SWIFT_VERSION'] = '5' at the top of your Podfile.



来源:https://stackoverflow.com/questions/58691345/unable-to-determine-swift-version-for-the-following-pod-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!