Skip to content

Instance Method

ensureProjectGenerated()

Actions that require an Xcode container (.xcodeproj / .xcworkspace) call this method to ensure the project exists. If project generation is configured and the output project is missing, this runs the generation command automatically.

func ensureProjectGenerated() async throws

Discussion

Throws

ShipItError when generation fails or is needed but not configured.