Project
A project representation used to define Xcode projects inProject.swift manifest files.
Overview
TheProject struct is the root element of a Tuist manifest that describes an Xcode project. It contains all the information needed to generate an Xcode project including targets, schemes, settings, and dependencies.
Usage
Initializer
The name of the project. Also used as the file name of the generated Xcode project.
The name of the organization used by Xcode as copyright information.
The prefix for class files Xcode generates when you create a project or class file.
The project options for configuring Xcode project generation behavior.
The Swift Packages used by the project.
The build settings and configuration for the project.
The targets of the project. See Target API for details.
The custom schemes for the project. Default schemes for each target are generated automatically if not specified. See Scheme API for details.
The custom file header template for Xcode built-in file templates.
The additional files for the project. For target-specific additional files, see
Target.additionalFiles.The resource synthesizers for the project to generate accessors for resources.
Properties
A computed property that returns
true if the project contains targets that depend on external dependencies.Related Types
- Target - Defines individual build targets
- Scheme - Defines build, run, and test schemes
- Settings - Defines build settings and configurations
- Dependencies - Defines target dependencies