Build App Store Machinery on swiftui-storekit2-node
StoreKit 2 IAP with server-side JWS validation, fastlane + TestFlight pipeline, privacy manifest, and a review-rejection preflight — the complete shipping rig for an existing iOS app.
This build pack is pinned for swiftui-storekit2-node, with verification pending. No pass rate is published until the harness runs it.
swiftui-storekit2-node versions lock
| xcode | 26.6 |
| ios-sdk | 26.5 |
| swift | 6.3 |
| swift-tools-version | 6.2 |
| min-ios-deployment | 17.0 |
| fastlane | 2.237.0 |
| ruby | 3.4.10 |
| node | 24.18.1 |
| @apple/app-store-server-library | 3.1.0 |
| jsonwebtoken | 9.0.2 |
What you get
**Features**
- StoreKit 2 purchase layer (`PurchaseKit` Swift package): monthly + annual subscriptions and a lifetime unlock, `appAccountToken` user linking, transaction-updates listener, restore, offer-code redemption
- Server-side validation service (Node 24.18.1, SQLite, ~zero deps): local JWS signature + certificate-chain verification, App Store Server Notifications V2 with idempotent handling, server-authoritative entitlements API, production→sandbox routing
- fastlane pipeline: `preflight` / `beta` (TestFlight) / `release` lanes, App Store Connect API-key auth, cloud signing, no interactive prompts
- Pre-filled privacy manifest (`PrivacyInfo.xcprivacy`) and StoreKit configuration file for local testing
- Review-rejection preflight: the top App Review rejection causes as automated checks + a short human checklist
- One-command acceptance: `verify.sh` proves the build, including signature verification against locally signed Apple-format test data
**Screens / surfaces**
- Paywall screen (`SubscriptionStoreView`-based: plans, prices, restore, redeem code, Terms + Privacy links)
- Offer-code redemption sheet (system)
- Server endpoints: `POST /verify`, `POST /notifications`, `GET /entitlements/:token`, `GET /healthz`
- UI is native SwiftUI using Apple's own store components — no web design system needed (shadcn/Tailwind n/a for this pack)
**Build budget**
- Expected: **2–3 sessions on a $20/mo plan** (Claude Pro or equivalent). Session 1: prompts/01-build (three parallel lanes, tasks routed cheap/standard per TASKS.md; only one task needs the `capable` tier). Session 2: prompts/02-verify fix loop. Optional session 3: prompts/03-ship TestFlight run. Est. ~1.8M tokens total for one build pass.
Prescribed services
Disclosure: some links on this page are affiliate links. We may earn a commission if you sign up through them, at no extra cost to you. We only link to services the pack actually verified against.