Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
STRUCT
Configuration Contents
namevariantsettingsxcconfigdebug(name:settings:xcconfig:)release(name:settings:xcconfig:)public struct Configuration: Equatable, Codable, SendableA the build settings and the .xcconfig file of a project or target. It is initialized with either the .debug or .release static method.
name public var name: ConfigurationNamevariant public var variant: Variantsettings public var settings: SettingsDictionaryxcconfig public var xcconfig: Path?debug(name:settings:xcconfig:) public static func debug(
name: ConfigurationName,
settings: SettingsDictionary = [:],
xcconfig: Path? = nil
) -> ConfigurationReturns a debug configuration.
CustomConfiguration| Name | Description |
|---|---|
| name | The name of the configuration to use |
| settings | The base build settings to apply |
| xcconfig | The xcconfig file to associate with this configuration |
release(name:settings:xcconfig:) public static func release(
name: ConfigurationName,
settings: SettingsDictionary = [:],
xcconfig: Path? = nil
) -> ConfigurationCreates a release configuration
CustomConfiguration| Name | Description |
|---|---|
| name | The name of the configuration to use |
| settings | The base build settings to apply |
| xcconfig | The xcconfig file to associate with this configuration |