square / cocoapods-pack

A CocoaPods plugin for producing xcframeworks from podspecs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Force Swift Version

chrsp opened this issue · comments

I'm trying to run pod pack for a library that depends on RealmSwift and I'm receiving this error message;

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

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

There's any way to force the Swift Version and avoid this error?

PS: spec.swift_versions is already set in the podspec file.

Same for me for "SwiftSpinner", any news on this?