API Documentation: XcodeIdeProject

Represents a Xcode IDE project.

An Xcode project is a repository for all the files, resources, and information required to build one or more software products. A project contains all the elements used to build your products and maintains the relationships between those elements. It contains one or more targets, which specify how to build products. A project defines default build settings for all the targets in the project (each target can also specify its own build settings, which override the project build settings).

—Xcode Projects Concept

It is assumed that each project will delegate to Gradle for building. The generated Xcode projects act as a bridge to allow a native Xcode IDE experience.

Properties

Property Description

location

The location of the generated project. It defaults to

targets

The targets for this project.

Methods

Method Description

targets(action)

Configures the target container with the specified action.

Property Details

Provider<FileSystemLocation> location (read-only)

The location of the generated project. It defaults to

${project.projectDir}/${project.name}.xcodeproj

.

NamedDomainObjectContainer<XcodeIdeTarget> targets (read-only)

The targets for this project.

Method Details

void targets(Action<? super NamedDomainObjectContainer<XcodeIdeTarget>> action)

Configures the target container with the specified action.