Method: Pod::Specification::DSL#swift_versions=
- Defined in:
- lib/cocoapods-core/specification/dsl.rb
#swift_versions=(version) ⇒ Object
The versions of Swift that the specification supports. A version of '4' will be treated as '4.0' by CocoaPods and not '4.1' or '4.2'.
Note The Swift compiler mostly accepts major versions and sometimes will honor minor versions. While CocoaPods allows specifying a minor or patch version it might not be honored fully by the Swift compiler.
158 159 160 |
# File 'lib/cocoapods-core/specification/dsl.rb', line 158 root_attribute :swift_versions, :container => Array, :singularize => true |