STRUCT
Configuration
Contents
- Properties
buildConfigurationsettings
- Methods
debug(name:settings:xcconfig:)release(name:settings:xcconfig:)
swift
public struct Configuration: Equatable, CodableA the build settings and the .xcconfig file of a project or target. It is initialized with either the .debug or .release static method.
Properties
buildConfiguration
swift
public var buildConfiguration: BuildConfigurationsettings
swift
public var settings: ConfigurationSettingsMethods
debug(name:settings:xcconfig:)
swift
public static func debug(
name: ConfigurationName = .debug,
settings: SettingsDictionary = [:],
xcconfig: FilePath? = nil
) -> ConfigurationReturns a debug configuration.
- Parameters:
- name: The name of the configuration to use
- settings: The base build settings to apply
- xcconfig: The xcconfig file to associate with this configuration
- Returns: A debug
CustomConfiguration
Parameters
| 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:)
swift
public static func release(
name: ConfigurationName = .release,
settings: SettingsDictionary = [:],
xcconfig: FilePath? = nil
) -> ConfigurationCreates a release configuration
- Parameters:
- name: The name of the configuration to use
- settings: The base build settings to apply
- xcconfig: The xcconfig file to associate with this configuration
- Returns: A release
CustomConfiguration
Parameters
| 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 |
