Subito-it / PodBuilder

A tool to precompile CocoaPods pods
Other
284 stars 28 forks source link

Unable to determine Swift version #68

Closed Simon-Zeng closed 1 year ago

Simon-Zeng commented 1 year ago

Unable to determine Swift version for the following pods:

  • Files does not specify a Swift version and none of the targets (DummyTarget) 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.
  • Hue does not specify a Swift version and none of the targets (DummyTarget) 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. /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/target_validator.rb:125:in `verify_swift_pods_swift_version'

Ii am 100% sure that Files has SWIFT_VERSION set to "5.0" in Pod.xcodeproj, and Hue has SWIFT_VERSION set to "5.0" in its Hue.debug.xcconfig. Could you please help on how i can set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod?

tcamin commented 1 year ago

There's a section about this problem in the documentation