Structure
PrecheckAction
Validates App Store metadata against App Store guidelines before submission.
struct PrecheckActionOverview
Checks for text length violations, forbidden words, URL formats, and other common issues that cause App Review rejections.
Usage
let result = try await PrecheckAction().run(
with: .init(directory: "./metadata"),
context: context
)
if result.violations.isEmpty {
print("All checks passed!")
}Topics
Structures
struct OptionsConfiguration for the precheck action.
struct ResultResult of a precheck run.
Initializers
init()Creates a
PrecheckAction.
Instance Methods
func run(with: PrecheckAction.Options, context: ActionContext) async throws -> PrecheckAction.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