Method: Pod::Podfile::TargetDefinition#swift_version=

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

#swift_version=(version) ⇒ void

This method returns an undefined value.

Sets the Swift version that the target definition should use.

Parameters:

  • version (String)

    The Swift version that the target definition should use.



428
429
430
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 428

def swift_version=(version)
  set_hash_value('swift_version', version)
end