Skip to content

Structure

GenerateProjectAction

Generates an Xcode project from a project spec file (e.g. XcodeGen’s project.yml).

struct GenerateProjectAction

Overview

This action supports spec-driven iOS project workflows where the .xcodeproj is a generated artifact rather than a checked-in source of truth. When configured in Shipfile.yml, it runs before any action that requires an Xcode container.

Usage

let result = try await GenerateProjectAction().run(
    with: .init(),
    context: context
)
print("Generated project: \(result.outputProject)")

Topics

Structures

Initializers

  • init()

    Creates a GenerateProjectAction.

Type Properties

Default Implementations

Relationships

Conforms To

  • Action
  • Swift.Sendable
  • Swift.SendableMetatype