One of my iPhone apps was rejected because it crashed on launch on an iPad. I had only launched it on a phone. The app could be installed on a device I hadn't tested, and I found out during review. I now run an LLM-driven audit before submitting an app. It checks the code, listing and running app against Apple's guidelines, then records findings in a ledger managed by a dependency-free Python script. The agent that handles submissions is instructed to stop unless the review result permits it. At our small studio, the reviewer itself is a markdown prompt; the script handles the records and status changes. Keeping those records turned out to need as much care as finding problems. A clean report is little use if it forgets an unresolved issue from last time or covers a version I am no longer shipping. What the reviewer looks at The reviewer is an agent: a long prompt plus a local copy of Apple's App Review Guidelines that it loads on demand. It scans four layers, writes a report and fixes nothing. Source code. It greps for empty or generic permission strings, deprecated APIs, purchase code, account-creation symbols and user-generated-content signals, and sets flags from what it finds. Store metadata. It reads the listing as it exists in App Store Connect: localizations, screenshots, subscriptions, age rating, policy URLs. In my rules a privacy policy URL that returns a 4xx or 5xx is a blocker and a dead support URL is a warning. Guideline 2.1(a) asks for "final versions with all necessary metadata and fully functional URLs included". The running app. It builds a debug build and launches it in a simulator for every device family the app can be installed on, iPhone first, then iPad. Failure to reach the first screen and stay up for five seconds blocks submission for that device. The iPad launch check came from the rejection above. Guideline 2.1(a) calls for on-device testing and rejects crashing binaries; 2.4.1 says iPhone apps should run on iPad whenever possible. An iPhone-only build can often be installed there too. Running both simulators is my conservative check, not an Apple-published list of review devices, and a debug simulator run does not replace testing the release build on hardware. Cross-cutting checklists. Short lists for things that cut across files: paywall, account deletion, user-generated content, permission prompts. Guideline 5.1.1(v) says an app that supports account creation must offer account deletion in the app. Guideline 1.2 asks for filtering, reporting, blocking and published contact details, and names AI content creation apps. A checklist runs only when a flag from the first layer says it applies. Keep findings between reviews I do not rely on the agent to remember its previous report. It reads the ledger before reviewing and produces findings for the Python script to apply. It must not edit the ledger by hand. When it finds the same root cause again, it reuses the existing ID, built from the store, guideline number and root-cause slug: appstore-5.1.1-no-account-deletion, for example. After each run the script applies a few rules: Open, and not seen this run: closed as fixed, but only if the run really examined that area. Fixed, and seen again: reopened and flagged as a regression. Not in the ledger: opened. wontfix and accepted-risk: left exactly as a human set them. They never count as blockers, and a re-report does not change their status. I set them with a command, and the note says why. The gate passes when no finding is both open and a blocker, and the summary lists what changed since the last run. When a finding disappears from a report that examined its area, the script closes it with the note "NOT re-verified" and retains the last open-state evidence. Only a finding explicitly reported as fixed with fresh evidence gets a verified closure. Both closures remove it from the open-blocker count, so a model overlooking an issue can still clear it. The note exposes that uncertainty; it does not eliminate it. The gate fails closed The rule lives in my standing project instructions. Before anything is submitted for review, the reviewer runs, and its summary decides. An illustrative summary, trimmed: { "pass": false, "openBlockers": [ { "id": "appstore-5.1.1-no-account-deletion", "guideline": "5.1.1", "title": "No in-app account deletion" } ], "newlyFixed": ["appstore-2.1-dead-support-url"], "regressions": [], "submitReady": false } Warnings and info never block. The decision itself fits in a few lines (simplified; submitReady is explained in the next section): def may_submit(summary, override=False): if summary is None: return False # no result, no submit if summary["submitReady"]: # implies pass return True return override # a human said so, and it is logged A crashed or timed-out review without a summary stops submission, as does a script error. Open blockers are listed by ID, guideline and title. The example permits a logged human override when a summary exists; an absent summary still returns false. The engine fails closed too. A finding with an unknown status counts as an open blocker, and so does an open finding with an unknown or missing severity. I also closed a hole where a re-report carrying a null severity would have overwritten a blocker's severity and flipped the gate to green. Severity and status are now validated on the way in, and a bad report exits with code 3 and writes nothing. I never report a pass off an exit 3. This gate depends on the agent following its standing instructions. Someone typing a submit command by hand bypasses it. For stronger enforcement, the check would need to run in a protected submission pipeline. Review the exact version, on a clean tree The second condition, submitReady, ties the result to the version being shipped. It requires no open blockers, a complete full review on record for the same marketing version, no skipped dimension in the current run, a clean working tree and scope computed against a git baseline. A review has eight dimensions: static code, metadata, launch, paywall, account deletion, permissions, user-generated content and minimum functionality. For a small change, a delta review re-examines the affected dimensions and carries the others forward from the ledger. The scope follows these rules: A script computes the scope, not the agent. It diffs the current git tree against the tree each dimension was last verified at and routes changed paths through a table: purchase-looking names to the paywall dimension, auth-looking names to account deletion, and so on. The agent may widen the scope and never narrow it, and a narrower one is refused when the ledger is updated. Unknown means full. A path the table cannot route, a failed git diff, a change to the reviewer's own guideline copy or checklists, the first review of a new version, or a last full review more than 30 days old each force a full scan. Metadata and launch run every time anyway, because store state and remote configuration can change with no commit. Dimensions not re-examined are labelled carried. Open findings stay open. Previous passes are reused only under the scope rules, since an incorrect decision to skip a dimension could conceal a new problem. Skipped layers are declared. If the build fails or the store API is unreachable, the run marks that dimension skipped. Its findings stay open, no coverage is stamped and submitReady is withheld. The dirtiness check ignores the reviewer's output folder so the report itself doesn't make the tree dirty. Diffs run with rename detection off: a moved paywall file then appears at its old path as a deletion, which still routes the change to the paywall review. Two release traps that have nothing to do with guidelines Versions created by my scripts without an explicit release type ended up on manual release more than once. An approved manual version waits in Pending Developer Release until someone releases it. Apple sends a reminder after more than 30 days. The alternatives are AFTER_APPROVAL and SCHEDULED. On 17 November 2026, the create-version API reference lists releaseType as optional, gives no default and shows MANUAL in its example. I now send the intended value explicitly: { "data": { "type": "appStoreVersions", "attributes": { "platform": "IOS", "versionString": "1.2.0", "releaseType": "AFTER_APPROVAL" }, "relationships": { "app": { "data": { "type": "apps", "id": "APP_ID" } } } } } A version created in the web console or by an older script may already be manual, so the deploy script also PATCHes the same attribute onto any editable version before it submits. Five small tests pin this down, including one that checks a failed patch does not crash a metadata run. I also run a small poller that reads review state every three hours and messages me if a version sits in Pending Developer Release. Apple's reminder after 30 days is too slow to be the safety net. Before creating a new version, I also check whether one is already in flight. If so, I stage the change in a note for later. A version-list call once omitted an in-flight version; I never established whether pagination or a stale read caused it. I now check the status command in the open-source asc CLI, which combines build, submission and review state, before creating a draft. The tool is maintained independently of Apple. What this does not do It does not predict App Review. It checks the problem classes I know about against a local copy of the guidelines, and a human reviewer can still reject for something it cannot see. The reviewer can also be wrong in both directions, so every finding cites a guideline and an evidence location, and I read the blockers myself instead of trusting the verdict. I have no controlled evidence that this lowers the chance of a rejection. The machinery is not free. The ledger and scope engine come to about 1,600 lines of Python with roughly 480 tests at the time of writing, and that code has to be trusted too. If you ship a couple of times a year, a checklist file in the repository does the same job with far less to maintain. The ledger starts to earn its keep when you release often enough to catch yourself re-fixing, or re-arguing, a finding you already settled. Start with a submission step that stops when the review produces no result and explicitly sets the intended release type. Add a ledger when keeping track of past findings becomes a recurring problem.
Treating App Store Review Like a Build Step
Full Article
Original Source
Read the full article at Hackernoon →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.