Structure
ProjectGenerationConfig
Project generation configuration for spec-driven projects (e.g. XcodeGen, Tuist).
struct ProjectGenerationConfigOverview
When configured, ShipIt auto-generates the Xcode project before any action that requires it (build, test, archive, export, version).
Example
project_generation:
tool: xcodegen
command: xcodegen generate
spec_path: ./project.yml
output_project: ./MyApp.xcodeproj
auto_generate: trueTopics
Initializers
init(from: any Decoder) throwsinit(tool: String?, command: String?, specPath: String?, outputProject: String?, autoGenerate: Bool?)Creates a
ProjectGenerationConfig.
Instance Properties
var autoGenerate: Bool?Whether to automatically generate the project when the output is missing or stale. Defaults to
true.var command: String?The shell command to run for project generation. Defaults to
xcodegen generatewhentoolisxcodegen.var outputProject: String?Path to the generated Xcode project (e.g.
MyApp.xcodeproj).var specPath: String?Path to the project spec file (e.g.
project.yml).var tool: String?The project generation tool name (e.g.
xcodegen,tuist).
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.SendableSwift.SendableMetatype