Method: Pod::Podfile::TargetDefinition#swift_version

Defined in:
lib/cocoapods-core/podfile/target_definition.rb

#swift_versionString

Returns the Swift version that the target definition should use.

Returns:

  • (String)

    the Swift version that the target definition should use.



435
436
437
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 435

def swift_version
  get_hash_value('swift_version')
end