Structure
GenerateProjectAction
Generates an Xcode project from a project spec file (e.g. XcodeGen’s project.yml).
struct GenerateProjectActionOverview
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
struct OptionsConfiguration for the generate project action.
struct ResultResult of project generation.
Initializers
init()Creates a
GenerateProjectAction.
Instance Methods
func run(with: GenerateProjectAction.Options, context: ActionContext) async throws -> GenerateProjectAction.ResultExecute the action with the given options.
Type Properties
static let description: StringLong-form description for
--helpoutput and documentation.static let name: StringHuman-readable identifier, e.g.
"build","upload".
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype