layoutBox/PinLayout

`SWIFT_VERSION` error in Cocoapods

xilin opened this issue · 1 comments

xilin commented

When I specify 1.8.3 as my dependency in a podspec file, pod install give me the following error:

[!] Unable to determine Swift version for the following pods:

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

Since we just remove version range in last release.

Can we keep the version setting using something like version range?

Thanks.

This has been fixed. Cocoapod now specify a range of version from 4.2 to 5.*