Structure
ExportAction
Exports an IPA from an .xcarchive using xcodebuild -exportArchive.
struct ExportActionOverview
Consumes an existing .xcarchive (produced by ArchiveAction) and generates an .ipa file suitable for distribution.
Usage
let result = try await ExportAction().run(
with: .init(archivePath: "./build/MyApp.xcarchive", outputDirectory: "./build/export"),
context: context
)
print("IPA: \(result.ipaPath)")Topics
Structures
struct OptionsConfiguration for the export action.
struct ResultResult of a successful export.
Initializers
init()Creates an
ExportAction.
Instance Methods
func run(with: ExportAction.Options, context: ActionContext) async throws -> ExportAction.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".static var validationRules: [ActionValidationRule]
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype