appstore-precheck 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +3 -3
- package/package.json +1 -1
- package/skills/appstore-precheck/SKILL.md +4 -4
- package/skills/appstore-precheck/references/methodology.md +2 -1
- package/skills/appstore-precheck/scripts/findings.sh +1 -0
- package/skills/appstore-precheck/scripts/scan.sh +24 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project are documented here. Versioning follows
|
|
4
4
|
[SemVer](https://semver.org/). Released as git tags.
|
|
5
5
|
|
|
6
|
+
## [1.17.0] - 2026-08-28
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- **§53 `subscription-eula-metadata` (3.1.2)**: new IAP-gated scan vector requiring a functional
|
|
10
|
+
Terms of Use (EULA) URL in every locale's App Store `description.txt`. Apple's automated
|
|
11
|
+
metadata review rejects auto-renewable-subscription submissions whose app metadata has no
|
|
12
|
+
EULA link (standard Apple EULA linked in the description, or a custom EULA set in App Store
|
|
13
|
+
Connect); the description link is the checkable signal, so its absence in any locale is a
|
|
14
|
+
FAIL, and a missing fastlane metadata dir downgrades to a verify-manually WARN. Caught in the
|
|
15
|
+
wild: a live rejection ("does not include a functional link to the Terms of Use (EULA) in the
|
|
16
|
+
app metadata") passed every existing check — §10 covers the in-app paywall links, but nothing
|
|
17
|
+
covered the store description. Catalog, findings slug, methodology table, SKILL.md/README
|
|
18
|
+
counts (52 → 53), and tests updated.
|
|
19
|
+
|
|
6
20
|
## [1.16.0] - 2026-08-07
|
|
7
21
|
|
|
8
22
|
### Added
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ each, divided by horizontal rules), not one compressed sentence. The breakdown b
|
|
|
50
50
|
|
|
51
51
|
## What it checks
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
53 rejection vectors across code, fastlane metadata, screenshots, `PrivacyInfo.xcprivacy`, and the paywall:
|
|
54
54
|
|
|
55
55
|
| Guideline | Check |
|
|
56
56
|
|-----------|-------|
|
|
@@ -165,7 +165,7 @@ how the app is built:
|
|
|
165
165
|
|
|
166
166
|
| App type | Coverage |
|
|
167
167
|
|----------|----------|
|
|
168
|
-
| 🟢 **Native Swift / SwiftUI** | **Full.** All
|
|
168
|
+
| 🟢 **Native Swift / SwiftUI** | **Full.** All 53 vectors apply. |
|
|
169
169
|
| 🟡 **React Native / Flutter** | Metadata, privacy manifest, screenshots, and export compliance apply in full. The native-source checks (ATT, paywall links, private API, SDK detection, navigation) **under-detect rather than misfire**: that logic lives in JS/Dart, so they stay quiet instead of blocking. |
|
|
170
170
|
|
|
171
171
|
## Quick start
|
|
@@ -353,7 +353,7 @@ nothing is auto-fixed.
|
|
|
353
353
|
| Phase | Step |
|
|
354
354
|
|-------|------|
|
|
355
355
|
| **0** | **Guideline drift**: diff the live App Store Review Guidelines against a tracked baseline. Never blocks. |
|
|
356
|
-
| **1** | **Static scan**: `scan.sh` over the
|
|
356
|
+
| **1** | **Static scan**: `scan.sh` over the 53 vectors above. |
|
|
357
357
|
| **2** | **`fastlane precheck`**: Apple's own metadata rule engine. |
|
|
358
358
|
| **3** | **Pierre commentary**: explains **every** FAIL and WARN from Phases 0–2 in 2–3 sentences each. |
|
|
359
359
|
| **4** | **Pierre deep review**: 29 semantic checks (23 Tier A + 6 Tier B v1 heuristic), plus 5 screenshot-vision checks when screenshots are present. Advisory only. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appstore-precheck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Read-only iOS App Store pre-submission check, packaged as a portable Agent Skill with native Claude Code, Cursor, Codex, and Grok Build plugins, plus an npx CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Berkay Turk (https://github.com/berkayturk)",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: appstore-precheck
|
|
3
|
-
description: Read-only pre-submission check for an iOS app before App Store review. Scans Swift and Objective-C code, fastlane metadata, screenshots, PrivacyInfo.xcprivacy, and the paywall for
|
|
3
|
+
description: Read-only pre-submission check for an iOS app before App Store review. Scans Swift and Objective-C code, fastlane metadata, screenshots, PrivacyInfo.xcprivacy, and the paywall for 53 rejection vectors, wraps Apple's official `fastlane precheck`, watches for live App Store Review Guideline drift, has Pierre explain every FAIL and WARN, then runs 23 semantic deep-review checks (Tier A) plus 6 heuristic checks (Tier B v1) — 29 total. Emits a GREEN/YELLOW/RED verdict and a `.precheck-pass` token an upload guard can gate on. Use when preparing an iOS App Store submission (before Archive, before "Submit for Review", before TestFlight, or before any `fastlane deliver/pilot/release`), or when the user mentions App Store rejection, app review, or fastlane upload.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Berkay Turk
|
|
7
|
-
version: 1.
|
|
7
|
+
version: 1.17.0
|
|
8
8
|
allowed-tools: Bash Read Grep Glob WebFetch mcp__maestro__list_devices mcp__maestro__run mcp__maestro__inspect_screen mcp__maestro__take_screenshot mcp__maestro__cheat_sheet
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -122,7 +122,7 @@ bash <skill-dir>/scripts/scan.sh
|
|
|
122
122
|
bash skills/appstore-precheck/scripts/scan.sh
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
Emits `FAIL:` / `WARN:` / `PASS:` lines covering
|
|
125
|
+
Emits `FAIL:` / `WARN:` / `PASS:` lines covering 53 rejection vectors: Privacy Manifest /
|
|
126
126
|
Required Reason API parity (5.1.1), purpose strings (5.1.1), ATT (5.1.2), other-platform mentions
|
|
127
127
|
(2.3.10), metadata limits (2.3.1), localized parity (2.3.7), screenshots (2.3.3), trial &
|
|
128
128
|
auto-renew disclosures (3.1.2), Restore/Terms/Privacy links (3.1.2), private API (2.5.1), minimum
|
|
@@ -147,7 +147,7 @@ strings (5.1.1(ii)), a third-party AI endpoint without a provider-naming consent
|
|
|
147
147
|
urgency/scarcity dark patterns on the paywall (3.1.2), sentiment-gated rating prompts (5.6.1),
|
|
148
148
|
forced login without a guest path (5.1.1(v)), a marketing-push SDK without an opt-out signal
|
|
149
149
|
(4.5.4), and a pre-26 Xcode `LastUpgradeCheck` against the April 2026 iOS 26 SDK upload minimum
|
|
150
|
-
(2.1). The IAP checks (8–10) are skipped automatically
|
|
150
|
+
(2.1). The IAP checks (8–10 and 53) are skipped automatically
|
|
151
151
|
when no in-app-purchase signals are present, and the signal-gated advisory checks (16–52) stay
|
|
152
152
|
silent unless their triggering signal is found. The
|
|
153
153
|
full check table is in
|
|
@@ -122,9 +122,10 @@ baseline the same deliberate way, with `guideline-drift.sh --reconcile`.
|
|
|
122
122
|
| 50 | **5.1.1(v) Forced login** *(advisory)* | A credential login UI (SecureField / Login view) with no skip / guest / continue-without-account affordance grepped anywhere — requiring login for features that are not account-based is rejected under 5.1.1(v). WARN-verify: an app whose every feature is genuinely account-based is fine |
|
|
123
123
|
| 51 | **4.5.4 Marketing push opt-out** *(advisory)* | A marketing-push SDK (OneSignal, Braze, CleverTap, Iterable, Airship, MoEngage) registers for notifications but no notification-preferences / opt-out signal is found; promotional push requires explicit consent and a working opt-out (4.5.4) |
|
|
124
124
|
| 52 | **2.1 Xcode/SDK minimum** *(advisory)* | The highest `LastUpgradeCheck` across checked-in pbxproj files is clearly pre-26 — since April 2026, App Store uploads must be built with the iOS 26 SDK (Xcode 26) or they are auto-rejected at upload. WARN-verify: the field tracks the upgrade-check, not the actual build toolchain |
|
|
125
|
+
| 53 | **3.1.2 EULA link in metadata** *(IAP-gated)* | Every locale’s App Store `description.txt` contains a functional Terms of Use (EULA) URL — auto-renewable-subscription apps are rejected without one in the app metadata (a custom EULA set in App Store Connect also satisfies Apple, but the description link is the checkable signal) |
|
|
125
126
|
|
|
126
127
|
Vectors 8–10 only run when in-app-purchase signals are detected (StoreKit / RevenueCat import,
|
|
127
|
-
or a paywall view). Otherwise the scanner emits a single PASS and skips them. Vectors 16–52 are
|
|
128
|
+
or a paywall view). Otherwise the scanner emits a single PASS and skips them. Vectors 16–52 (plus the IAP-gated 53) are
|
|
128
129
|
signal-gated advisory WARNs: each emits nothing unless its triggering signal is present.
|
|
129
130
|
|
|
130
131
|
### Screenshot format + dimensions (§7b, 2.3.3)
|
|
@@ -32,6 +32,7 @@ rule_slug() {
|
|
|
32
32
|
47) echo ai-provider-consent ;; 48) echo paywall-urgency ;;
|
|
33
33
|
49) echo rating-sentiment-gate ;; 50) echo forced-login ;;
|
|
34
34
|
51) echo push-marketing-optout ;; 52) echo xcode-sdk-requirement ;;
|
|
35
|
+
53) echo subscription-eula-metadata ;;
|
|
35
36
|
*) echo "" ;;
|
|
36
37
|
esac
|
|
37
38
|
}
|
|
@@ -537,6 +537,30 @@ else
|
|
|
537
537
|
else
|
|
538
538
|
warn "3.1.2 IAP detected but no paywall/subscription view found — set .paywallGlobs so required-link checks can run"
|
|
539
539
|
fi
|
|
540
|
+
|
|
541
|
+
# ---- §53 3.1.2 Terms of Use (EULA) link in the App Store description ----------
|
|
542
|
+
# (IAP-gated, lives with §10.) Apple rejects auto-renewable-subscription
|
|
543
|
+
# submissions whose app metadata (the App Store description) has no functional
|
|
544
|
+
# Terms of Use (EULA) link. Standard Apple EULA: link it in the description;
|
|
545
|
+
# a custom EULA set in App Store Connect also satisfies Apple, but the
|
|
546
|
+
# description link is the checkable signal.
|
|
547
|
+
set_rule "subscription-eula-metadata"
|
|
548
|
+
if [[ -n "$META_DIR" && -d "$META_DIR" ]]; then
|
|
549
|
+
eula_url_re='apple\.com/legal/internet-services/itunes/dev/stdeula|https?://[^[:space:]]*(terms|eula|tos|conditions|nutzungsbedingungen)'
|
|
550
|
+
eula_missing=()
|
|
551
|
+
for loc in "${LOCALES[@]+"${LOCALES[@]}"}"; do
|
|
552
|
+
d="$META_DIR/$loc"
|
|
553
|
+
[[ -f "$d/description.txt" ]] || continue
|
|
554
|
+
grep -qiE "$eula_url_re" "$d/description.txt" || eula_missing+=("$loc")
|
|
555
|
+
done
|
|
556
|
+
if (( ${#eula_missing[@]} > 0 )); then
|
|
557
|
+
fail "3.1.2 Terms of Use (EULA) link missing from App Store description for: ${eula_missing[*]} — auto-renewable subscriptions require a functional EULA link in the app metadata (add it to description.txt, or set a custom EULA in App Store Connect)"
|
|
558
|
+
else
|
|
559
|
+
pass "3.1.2 Terms of Use (EULA) link present in every locale's App Store description"
|
|
560
|
+
fi
|
|
561
|
+
else
|
|
562
|
+
warn "3.1.2 EULA-in-metadata check skipped — no fastlane metadata dir detected; verify the App Store description contains a functional Terms of Use (EULA) link"
|
|
563
|
+
fi
|
|
540
564
|
fi
|
|
541
565
|
|
|
542
566
|
# ===================================================================
|