When a compiled Assets.car is present but no loose AppIcon*.png, the no-icon
CRITICAL was fully suppressed — but greenlight can't decode Assets.car to confirm
an AppIcon set actually exists, so an icon-less catalog passed silently. Emit an
INFO in that case instead (still no false CRITICAL on the common asset-catalog
app, but the recall gap is surfaced). Test asserts the INFO.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Tier 2 feature. The IPA inspector read Info.plist / PrivacyInfo.xcprivacy as a
string and grepped for keys. Production builds ship BINARY plists (bplist00), so
the empty-purpose-string and ATS checks were dead, the bundle id was never
extracted, and version/icon checks false-fired on essentially every real IPA.
- Parse both plists with howett.net/plist (auto-detects binary vs XML) into a
map; read CFBundleIdentifier, version keys, NSAppTransportSecurity, and the
usage-description strings from actual values.
- Read zip entries with io.ReadAll under a 16 MiB cap instead of a single
rc.Read into a header-sized buffer (the old read truncated Deflate'd entries
and trusted UncompressedSize64 -- a decompression-bomb vector).
- Treat a compiled Assets.car as a valid icon source, so apps whose icons live
in the asset catalog no longer get a false "No app icon" CRITICAL.
- Only warn about CFBundleDisplayName when CFBundleName is also absent; simplify
the framework privacy-manifest path; drop dead arch-detection code.
- Tests build in-memory IPAs with binary and XML plist fixtures.
Adds howett.net/plist v1.0.1.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pre-submission compliance scanner for the Apple App Store.
Fixes:
- Implement antiPatternsGlobal two-pass scanning (rules like missing-att,
social-login-no-apple now correctly check anti-patterns across all project
files instead of only the current file)
- Remove dead printFooter() in scan.go (handled by report.go)
- Remove no-op checkAppIconExists() (icon checks handled by app.json parser)
- Fix all go vet warnings (redundant newlines in Println calls)
Adds MIT license, CI workflow, and updated .gitignore.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>