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?
Try to set the Swift version by including
ENV['SWIFT_VERSION'] = '5'
at the top of your Podfile.
It's because your project is very old and never set Swift version in the project.
Try to create one new swift file in the project. Xcode will automatically set Swift version in project build settings. Then you can pod install
again and it will be solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With