问题
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