TRACK 4 · MIT OPEN SOURCE · ZERO LOGIN · 100% OFFLINE · v1.1.0
Catch App Store rejections in 0.66s — before you submit.
Deterministic Python 3 stdlib scanner for SwiftUI, Expo, React Native & Flutter. 26 high-frequency rejection rules + PreToolUse submit hook for Claude Code & Cursor.
STEP 01Install in one line
npx skills add komako-workshop/stringers
curl -fsSL https://raw.githubusercontent.com/komako-workshop/stringers/main/cli/stringer-preflight -o ~/.local/bin/stringer-preflight && chmod +x ~/.local/bin/stringer-preflight
STEP 02Just tell your AI
- 100% offline, zero code uploaded
- Read-only by default (never rewrites your UI or paywall)
- Unlocks all 4 Stringers indie app tracks
Real-world capture
One real scan: Swiftfin, 877 files, 660ms, blocked.
This is the actual output against Swiftfin, Jellyfin's official iOS client. Every finding names the file and line, why Apple cares, and how to fix it.
stringer-preflight --hook
Claude Code PreToolUse / Cursor beforeShellExecution intercepts these commands whenever CRITICAL findings remain:
- eas submit
- fastlane deliver/pilot/release
- xcrun altool --upload-app
- xcodebuild archive
- flutter build ipa
Bypass once with STRINGER_PREFLIGHT_OK=1.
Benchmark
7 open-source repos, total scan time.
Tested across Bluesky (2,162 files in 1.09s), Swiftfin (0.66s), NetNewsWire, openGym, Immich, LocalSend & more
Rule reference
All 26 rules, each mapped to an Apple guideline.
Filter by severity or category, or search by rule ID, guideline number or keyword.
Showing 26 of 26 rules
Required Reason API used without a privacy manifest
FixAdd PrivacyInfo.xcprivacy to the app target (Expo: expo.ios.privacyManifests in app.json) and declare every NSPrivacyAccessedAPIType with an approved reason code.
Privacy manifest does not cover a Required Reason API in use
FixAdd the missing NSPrivacyAccessedAPIType entry and give it at least one approved NSPrivacyAccessedAPITypeReasons code.
Tracking / ads SDK without a complete App Tracking Transparency setup
FixAdd NSUserTrackingUsageDescription and call ATTrackingManager.requestTrackingAuthorization before the SDK reads the IDFA, or remove the SDK.
Camera used without NSCameraUsageDescription
FixAdd NSCameraUsageDescription to Info.plist (Expo: ios.infoPlist or the camera config plugin) with a sentence that says what the camera is used for.
Photo library used without a usage description
FixAdd NSPhotoLibraryUsageDescription (read) or NSPhotoLibraryAddUsageDescription (save only), or switch to PHPickerViewController, which needs no permission.
Location used without NSLocationWhenInUseUsageDescription
FixAdd NSLocationWhenInUseUsageDescription explaining why the app needs the user's location.
Protected resource used without its usage description
FixAdd the matching NS*UsageDescription key with a concrete, user-facing reason.
Usage description is empty, a placeholder, or too vague
FixRewrite the string as a full sentence that tells the user what the data is used for.
ITSAppUsesNonExemptEncryption is not declared
FixSet ITSAppUsesNonExemptEncryption in Info.plist (Expo: ios.config.usesNonExemptEncryption) so every upload does not stall on the export compliance question.
App Transport Security is disabled globally
FixRemove NSAllowsArbitraryLoads and add NSExceptionDomains entries only for hosts that need them.
Deprecated UIWebView referenced
FixReplace UIWebView with WKWebView (and update any dependency that still links it).
No launch screen configured
FixAdd UILaunchScreen or UILaunchStoryboardName so the app runs full screen on current devices.
Third-party social login without Sign in with Apple
FixOffer Sign in with Apple (or another login that meets the 4.8 privacy requirements) next to the third-party login.
Account creation without in-app account deletion
FixAdd an in-app flow that lets the user delete the account and its data, not just sign out.
Data sent to an external AI provider without disclosure or consent
FixTell the user which AI provider receives their data and collect consent before the first request; mention it in the privacy policy as well.
User-generated or AI-generated content without moderation tools
FixAdd a way to report content, block abusive users, and filter objectionable material.
In-app purchases without a Restore Purchases flow
FixAdd a visible Restore Purchases button that calls AppStore.sync() / restorePurchases().
Subscription paywall without Terms of Use and Privacy Policy links
FixLink the Terms of Use (EULA) and the Privacy Policy from the paywall itself.
External payment SDK without StoreKit in-app purchase
FixSell digital goods and subscriptions through In-App Purchase. Physical goods and services used outside the app may keep the external processor: silence this rule if that is your case.
Development host hardcoded in production code
FixPoint the release build at the production endpoint; keep local hosts behind #if DEBUG / __DEV__.
Live API secret hardcoded in client code
FixRevoke the key now, then move the call behind your own backend. Anything in the app binary is public.
Placeholder content or auth / paywall bypass in production code
FixRemove the placeholder or bypass, or wrap it in #if DEBUG / __DEV__ so it never ships.
Private API usage
FixReplace the private selector or class with a public API.
Insecure http:// URL in production code
FixUse https://. App Transport Security blocks plain HTTP unless the host is explicitly excepted.
Store metadata problem
FixFix the metadata field before uploading it to App Store Connect.
Login flow detected: App Review needs a working demo account
FixPut a demo username and password plus step-by-step review notes in App Store Connect (App Review Information).
No rules match these filters.
Honest boundary
5 manual checks static analysis cannot prove.
A clean scan does not guarantee approval. Run these five yourself before you submit. Progress is saved in this browser only.
One install, four tracks
What one npx skills add komako-workshop/stringers unlocks.
Preflight is Track 4. The same skill covers the other three tracks too.