Skip to content

STRUCT

BuildConfiguration ​

Contents

swift
public struct BuildConfiguration: Codable

A build configuration acts as a configuration identifier.

It hosts the name as well as the variant of a configuration to help infer the appropriate default settings.

Properties ​

debug ​

swift
public static let debug = BuildConfiguration(name: "Debug", variant: .debug)

release ​

swift
public static let release = BuildConfiguration(name: "Release", variant: .release)

name ​

swift
public let name: String

variant ​

swift
public let variant: Variant

Methods ​

init(name:variant:) ​

swift
public init(name: String, variant: Variant)

release(_:) ​

swift
public static func release(_ name: String) -> BuildConfiguration

debug(_:) ​

swift
public static func debug(_ name: String) -> BuildConfiguration