Contents

swiftLanguageVersion(_:_:)

Defines a -swift-version to pass to the corresponding build tool.

Declaration

static func swiftLanguageVersion(_ version: SwiftVersion, _ condition: BuildSettingCondition? = nil) -> SwiftSetting

Parameters

  • version:

    The Swift language version to use.

  • condition:

    A condition that restricts the application of the build setting.

Discussion

See Also

Configuring Swift Settings