Nirma/UIDeviceComplete

Impossible to add to objc project by default: SWIFT_VERSION not specified

kambala-decapitator opened this issue · 2 comments

❯ bundle exec pod install
Analyzing dependencies
Downloading dependencies
Installing UIDeviceComplete (2.7.3)
[!] Unable to determine Swift version for the following pods:

- `UIDeviceComplete-library` does not specify a Swift version and none of the targets (`MyTarget`) 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.

Setting SWIFT_VERSION in my project fixes this. But specifying Swift version in the podspec would be more correct.

Sounds like something that would be an easy fix. set to swift 5.0?

yes, or 5.1, depending on the language features you use.