API Documentation: XcodeIdeBuildSettings

Represent the build settings of a build configuration for a target.

A build setting is a variable that contains information about how a particular aspect of a product’s build process should be performed. For example, the information in a build setting can specify which options Xcode passes to the compiler.

—Xcode Build Settings Concept

It is assumed that Xcode will be delegating to Gradle for most of the build requirements.

Properties

Property Description

elements

The elements of the build settings. Each element is a key/value pair representing the build setting entries.

Methods

Method Description

put(name, value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

put(name, value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

put(name, value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

put(name, value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

Property Details

Provider<Map<String, Object>> elements (read-only)

The elements of the build settings. Each element is a key/value pair representing the build setting entries.

Method Details

XcodeIdeBuildSettings put(String name, Object value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

XcodeIdeBuildSettings put(String name, Provider<Object> value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

XcodeIdeBuildSettings put(String name, Object value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.

XcodeIdeBuildSettings put(String name, Provider<Object> value)

Puts a new build setting entry for the specified name and value. Number values, that is integer, long and double, are treated as number, any other value type will be converted to String using Object#toString() when resolved.