--- title: validate description: Validate App Store version readiness before submission --- import { Card, CardGroup, ParamField, Tip } from '@components/mdx'; The `validate` command builds the canonical App Store submission-readiness report for one version. Its normal mode uses the public App Store Connect API. Add `--deep` when you also need checks that Apple exposes only through a signed-in web session. ## Usage ```bash asc validate --app "APP_ID" [flags] ``` Pass at most one version selector: `--version` or `--version-id`. When both are omitted, `validate` uses the app's newest active editable App Store version (`PREPARE_FOR_SUBMISSION`, `DEVELOPER_REJECTED`, `REJECTED`, `METADATA_REJECTED`, `READY_FOR_REVIEW`, `WAITING_FOR_REVIEW`, or `INVALID_BINARY`), then a `DEVELOPER_REMOVED_FROM_SALE` version, and finally the live version. The selection is reported on stderr, for example `Using version 1.2.0 (PREPARE_FOR_SUBMISSION) for platform IOS; pass --version to override`. When candidate versions exist on more than one platform, pass `--platform`. Default selection only chooses the version to inspect. The selected state still goes through readiness validation: `READY_FOR_REVIEW` can be submitted, while a waiting, in-review, or live version produces the normal state blocker. A live fallback is not a claim that the version is ready for another submission. ## Validate a version Check if a version is ready for submission: ```bash asc validate --app "123456789" asc validate --app "123456789" --version "1.2.0" asc validate --app "123456789" --version-id "VERSION_ID" ``` ## What it checks The validation process checks: * Version has a build attached * Required metadata is complete (description, keywords, screenshots) * Privacy policy URL is set (if required) * Apple TV privacy policy text is set in every app info localization for tvOS versions * Age rating is configured * App categories are assigned * Pricing and availability are configured * App Review contact information and required demo credentials are present * An eligible build is attached, processed, and ready for encryption review * Localized listing fields do not contain unmistakable template markers such as `Lorem ipsum`, `TODO`, `TBD`, or `FIXME` * App names and keyword fields satisfy deterministic content-quality checks Placeholder findings cover app names, subtitles, descriptions, keywords, promotional text, and What's New copy. The canonical `Lorem ipsum dolor sit amet` sequence is matched without regard to letter case. `TODO`, `TBD`, and `FIXME` are uppercase-only; `TODO` additionally requires following marker punctuation such as a colon or dash so ordinary localized wording is not flagged. Findings include the locale, field, matched text, resource type and ID, and a remediation step. They are warnings by default and become blocking with `--strict`. The same fields are checked for wording App Review commonly rejects: | Finding | Severity | Matches | | ------------------------------- | -------- | ----------------------------------------------------------------------- | | `content.other_platforms` | Warning | `Android`, `Google Play`, `Play Store`, and other app marketplaces | | `content.test_words` | Warning | `test build`, `debug version`, `demo build`, `for testing purposes` | | `content.unfinished_features` | Info | `coming soon`, `pre-release`, `public beta`, `beta version` | Matching respects word boundaries, so `androids` never matches. Lowercase `android` matches only in keywords, and bare `beta` is ignored because it is ordinary product wording. A copyright year range that ends before the current year is reported as `legal.format.copyright_year_outdated` (info). The canonical validator also reports warning-only metadata-quality findings for app names shorter than two Unicode characters and for empty keyword segments, non-canonical separators, repeated phrases, or terms already present in the localized app name or subtitle. These checks do not classify editorial copy, use user-supplied blocked terms, or expose keyword values in the canonical report. ## Check public metadata URL destinations URL syntax is checked offline by default. The `--check-urls` flag opts into bounded, read-only HTTP checks for populated support, marketing, privacy-policy, and privacy-choices URLs: ```bash asc validate --app "123456789" --version-id "VERSION_ID" --check-urls ``` The checker follows at most ten HTTP(S) redirects, rejects private or otherwise non-public network destinations, disables proxies, deduplicates identical URLs, and does not read response bodies. Destination failures, changed hosts, and site-root results are warnings; use `--strict` when warnings must block. The command never prints the URL, host, IP address, response body, or transport details in a finding. No URL request is made unless `--check-urls` is present. ## Check required iPad screenshots App Store Connect refuses to submit a build that runs on iPad until the version has `APP_IPAD_PRO_3GEN_129` screenshots. The public API doesn't report whether a build runs on iPad, so pass the version's IPA with `--ipa` and `validate` reads `UIDeviceFamily` from its app `Info.plist` locally: ```bash asc validate --app "123456789" --version-id "VERSION_ID" --ipa "./build/MyApp.ipa" ``` When `UIDeviceFamily` includes iPad (`2`) and the app's primary locale has no `APP_IPAD_PRO_3GEN_129` set, `screenshots.required.ipad` blocks validation. Other locales fall back to the primary locale's screenshots, so a set that exists only in another locale doesn't satisfy it. An iPhone-only IPA, including one without `UIDeviceFamily`, passes without iPad screenshots. The IPA must be the version's binary: the version's platform must be `IOS`, its bundle ID must match the app's, its `CFBundleShortVersionString` must match the App Store version string, and its `CFBundleVersion` must match the attached build when one is attached. Before a build is attached, the check runs against the IPA you're about to upload. Any mismatch, or an IPA without a readable app `Info.plist`, fails the command instead of guessing. `--ipa` reads only the archive's top-level app `Info.plist` and doesn't upload anything. Without `--ipa`, a version that has iPhone screenshots but no `APP_IPAD_PRO_3GEN_129` set in the primary locale gets the `screenshots.required.ipad_unverified` info finding, even when a retired iPad slot or another locale has iPad screenshots. It never blocks, even with `--strict`, because iPhone-only apps don't need iPad screenshots. A `UIDeviceFamily` key that is present but empty or unreadable fails `--ipa`. A missing key means iPhone only, as on iOS. ## Check media delivery `validate` reads the delivery state of every screenshot and app preview on the version, locale by locale, plus any asset library placements of type `APP_SCREENSHOT`, `IMESSAGE_APP_SCREENSHOT`, or `APP_PREVIEW`. Screenshots use `assetDeliveryState`. App previews use `videoDeliveryState`, falling back to the deprecated `assetDeliveryState` when Apple returns only that. | Finding | Severity | Meaning | | --------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------ | | `media.delivery.failed` | Error | Processing failed. The finding includes Apple's error when one is returned. | | `media.delivery.pending` | Warning | The asset is `AWAITING_UPLOAD`, `UPLOAD_COMPLETE`, `PROCESSING`, or `ASSET_PROCESSING`, or a placement is `INVALID`. | | `media.delivery.unverified` | Info | Apple returned no state, returned a state `asc` doesn't recognize, or the previews or placements for a locale couldn't be read. | Apple doesn't report when a state last changed, so `pending` can't separate media that is stuck from media that is still moving. Validate again after a few minutes: an asset in the same state is likely stuck. Use `--strict` when a pending finding must fail CI. Unverified findings stay informational and never block, because nothing shows the media is wrong. Each version localization adds two requests, one for app preview sets and one for placements, plus more when a response is paged. They count against the same read limit as the rest of the report. ## Check the upcoming upload requirement Starting April 2027, apps uploaded to App Store Connect must be built with the 27 SDKs for iOS and iPadOS, tvOS, visionOS, and watchOS, and iOS and iPadOS apps must target iOS 15 or later. Apple names the month without a day and lists no macOS requirement, so `MAC_OS` versions skip this check. `validate` compares the attached build with that rule: | Finding | Severity | Meaning | | -------------------------------------------- | -------- | ----------------------------------------------------------------------------- | | `build.upload_requirement.min_os` | Info, then Warning | The build's `minOsVersion` is below iOS 15. | | `build.upload_requirement.min_os_unverified` | Info | App Store Connect didn't report a readable `minOsVersion`. | | `build.upload_requirement.sdk` | Info, then Warning | The IPA passed with `--ipa` was built with an older SDK. | | `build.upload_requirement.sdk_unverified` | Info | The SDK can't be proven, so the requirement isn't reported as met. | The public API has no SDK version. `sdkBuild` on a build bundle is a build identifier, not a version, and Apple publishes no mapping between them, so the finding quotes it without interpreting it. Pass `--ipa` on an `IOS` version to read `DTSDKName` from the binary and prove the iOS and iPadOS SDK. A watchOS app inside the build stays unverified, because `--ipa` reads only the top-level app. The requirement applies to uploads, so these findings don't mean an already-uploaded build will be rejected. Unverified findings stay informational and never block, even with `--strict`. The two findings marked Info, then Warning are informational until April 1, 2027, so a build that is valid today doesn't fail `--strict`. From that date they are warnings and block with `--strict`. ## Check Apple's web-only blockers The `--deep` mode keeps every public-API check above, then reads an existing file-backed Apple web session. It doesn't open a login or Keychain prompt, accept agreements, publish privacy answers, or attach subscriptions. ```bash asc validate --app "123456789" --version "1.2.0" --deep asc validate --app "123456789" --version-id "VERSION_ID" --deep --apple-id "user@example.com" ``` Deep mode reports one result for each of these release gates: * App Privacy answers are published * The app's first auto-renewable subscription is attached to a new app version * Required agreements are active * Initial availability is configured * Required App Review fields are present The first three checks use Apple's web session. Availability and review information stay on the public API, so deep mode doesn't fetch the same data twice. If no cached session exists, the web-only checks return `unverified` and the command adds a warning. Use `--strict` if an unverified result must fail CI. The subscription check follows Apple's first-of-type rule. Once an auto-renewable subscription is approved, later subscriptions don't need an app version and this check returns `notApplicable`. The web attachment field applies to the app's next review candidate, so validating an older, terminal version also returns `notApplicable` instead of borrowing the next version's state. `READY_FOR_REVIEW` is still checked, but deep mode won't offer an attachment mutation after the version has left an editable state. Agreement relevance includes active subscriptions, IAPs, and the app's current upfront download price. If current pricing can't be read completely, deep mode reports Paid Apps Agreement relevance as `unverified` instead of assuming the app is free or inventing a blocker. Every deep-mode error or warning includes a `resolution` classification: `api-fixable`, `web-fixable`, or `manual`. When the report has enough facts to produce a safe command, it returns that command alongside the relevant App Store Connect link. Public API commands contain the exact resource ID and flag; values such as missing metadata text remain visibly named placeholders for the operator to replace. Commands that change web-only state still require `--confirm` and validation never runs them for you. Remediation commands are pinned to the Apple Account that deep validation checked. If several subscriptions are ready and the intended one is ambiguous, the finding stays `manual` and returns the safe list command instead of guessing which subscription to attach. ## Output JSON is the default for pipes and CI; terminals default to a table. Both forms include the severity summary, ordered remediation steps, and individual findings. Deep mode adds a `deep` section to JSON and resolution columns to table or Markdown output. Without `--deep`, a finding that one `asc` command fixes still carries the `api-fixable` `resolution` with that command, for example `asc versions attach-build --app "APP_ID" --version-id "VERSION_ID" --latest` for `build.required.missing`. Its `remediation` text ends with the same command, so table output and filters that read only `remediation` see it too. Commands contain only what `asc` knows: the report's real app, version, localization, and app info IDs, or `--latest` for the build. Anything the developer must decide, such as the price, the territories, an age rating answer, the category, or listing text, stays an UPPERCASE placeholder, and the resolution sets `"needsUserInput": true`. Ask the developer for those values; never run such a command as printed. ## Flags App ID to validate Version string to validate (for example, `1.2.0`). Mutually exclusive with `--version-id`. When neither selector is passed, the app's newest editable version is used, falling back to the live version. App Store version ID to validate. Mutually exclusive with `--version`. Platform used with `--version` when an app has the same version on more than one platform, or to pick the default version when both selectors are omitted and the app has candidates on more than one platform. When used with `--version-id`, the selected version must match this platform. Output format: `json`, `table`, or `markdown` Pretty-print JSON output Treat warnings, including metadata-quality and placeholder findings, as blocking validation issues Fetch populated metadata URL destinations with bounded, privacy-safe public HTTP checks. Network checks are disabled by default. Path to the version's `.ipa`. Its `UIDeviceFamily` decides whether `APP_IPAD_PRO_3GEN_129` screenshots are required, and its `DTSDKName` proves the SDK for the upcoming upload requirement. Read locally; valid only for `IOS` versions. Verify blockers that require an existing cached Apple web session and classify actionable findings Select a cached Apple web session for `--deep`. This flag doesn't log in and isn't valid without `--deep`. ## Example workflows ### Validate before the release pipeline ```bash # Validate version if asc validate --app "123456789" --version "1.2.0"; then echo "Version is ready, running the release pipeline..." asc publish appstore --app "123456789" --ipa "./build/MyApp.ipa" --version "1.2.0" --submit --confirm else echo "Validation failed, fix issues before publishing" exit 1 fi ``` ### CI/CD validation ```yaml # GitHub Actions - name: Validate version env: APP_ID: ${{ secrets.APP_ID }} TAG_NAME: ${{ github.ref_name }} run: | if ! asc validate --app "$APP_ID" --version "$TAG_NAME"; then echo "Validation failed" exit 1 fi - name: Publish to App Store env: APP_ID: ${{ secrets.APP_ID }} TAG_NAME: ${{ github.ref_name }} run: asc publish appstore --app "$APP_ID" --ipa ./build/MyApp.ipa --version "$TAG_NAME" --submit --confirm ``` ## Exit codes | Code | Description | | ------- | ------------------------ | | `0` | Validation passed | | `1` | Validation failed | | `10-59` | HTTP client errors (4xx) | | `60-99` | HTTP server errors (5xx) | Always run `validate` before `asc publish appstore --submit`, or after `asc release stage`, to catch issues early and avoid rejected submissions. ## Related Submit for App Store review Complete submission guide