Structure
ValidateArchiveAction
Validates a .xcarchive, exported .ipa, or app bundle for App Store upload readiness.
struct ValidateArchiveActionOverview
Catches common issues that would cause rejection or processing failures before you upload, including invalid icon transparency, missing Info.plist keys, iPad orientation requirements, and archive structure problems.
Usage
let result = try await ValidateArchiveAction().run(
with: .init(archivePath: "./build/MyApp.xcarchive"),
context: context
)
if result.issues.isEmpty {
print("Archive is ready for upload!")
}Topics
Structures
struct ArchiveIssueA single issue found during archive validation.
struct OptionsConfiguration for the validate_archive action.
struct ResultResult of a validate_archive run.
Initializers
init()Creates a
ValidateArchiveAction.
Instance Methods
func run(with: ValidateArchiveAction.Options, context: ActionContext) async throws -> ValidateArchiveAction.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