SwiftVersion
The version of the Swift language you use to compile Swift sources in the package.
LanguageStandardSettings.swift:153SwiftVersion.mdenum SwiftVersion
Enumeration Cases
case v3
The identifier for the Swift 3 language version.
case v4
The identifier for the Swift 4 language version.
case v4_2
The identifier for the Swift 4.2 language version.
case v5
The identifier for the Swift 5 language version.
case version(String)
A user-defined value for the Swift version.
See also
enum CLanguageStandard
The supported C language standard you use to compile C sources in the package.
enum CXXLanguageStandard
The supported C++ language standard you use to compile C++ sources in the package.
var swiftLanguageVersions: [SwiftVersion]?
The list of Swift versions with which this package is compatible.
var cLanguageStandard: CLanguageStandard?
The C language standard to use for all C targets in this package.
var cxxLanguageStandard: CXXLanguageStandard?
The C++ language standard to use for all C++ targets in this package.