Skip to content
Back to skills

Ios Appstore Preflight

ASecurity

Run a 12-rule pre-submission App Store Review audit on Swift/SwiftUI and Info.plist files to catch common Guideline 2.1, 3.1.1, and 5.1.1 rejections.

  • 50,717 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 1, 2026
ai-agentsgoswifttestinggitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add sickn33/agentic-awesome-skills --skill ios-appstore-preflight --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Appstore Preflight?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Appstore Preflight
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sickn33-ios-appstore-preflight/badge)](https://www.skillsdirectory.com/skills/sickn33-ios-appstore-preflight)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ios-appstore-preflight
description: "Run a 12-rule pre-submission App Store Review audit on Swift/SwiftUI and Info.plist files to catch common Guideline 2.1, 3.1.1, and 5.1.1 rejections."
category: development
risk: safe
source: self
source_type: self
license: MIT
license_source: "https://github.com/Tomsabay/ios-appstore-preflight/blob/93984fa151fb593484fd32df07798034fcc2c4fd/LICENSE"
date_added: "2026-11-29"
author: Tomsabay
tags: [ios, swift, swiftui, app-store, preflight]
---

# iOS App Store Pre-Flight Rejection Auditor

## Overview

App Store Review rejections often stem from statically detectable mistakes in `Info.plist`, StoreKit purchase flows, privacy manifests, or placeholder UI left behind by rapid iteration. This skill runs a 12-rule read-only check on Swift/SwiftUI repositories before archiving and uploading a build to App Store Connect.

## When to Use

- Reviewing an iOS/macOS Swift or SwiftUI repository immediately before TestFlight or App Store submission.
- Triaging an App Review rejection under Guidelines 2.1, 2.3, 3.1.1, 4.8, or 5.1.1.
- Do not use this skill as a replacement for Xcode Archive builds or physical-device StoreKit sandbox testing.

## Prerequisites

- Read access to the iOS project's `.swift` files, `Info.plist`, and `PrivacyInfo.xcprivacy`.
- No Apple Developer account credentials, network access, or Xcode writes are required.

## How It Works

### 1. Establish the inputs

Locate `Info.plist`, `PrivacyInfo.xcprivacy` (if present), StoreKit/subscription views, account-creation flows, and main SwiftUI views.

### 2. Audit across the 12 rejection rules

1. Missing `Info.plist` usage descriptions (`NSCameraUsageDescription`, `NSPhotoLibraryUsageDescription`, `NSMicrophoneUsageDescription`, etc.) for imported/called protected APIs.
2. Missing privacy-manifest declarations for applicable required-reason APIs. Confirm the declared reason matches actual use.
3. Missing Restore Purchases action in StoreKit / subscription paywalls (Guideline 3.1.1).
4. Missing Privacy Policy or Terms of Use (EULA) links on auto-renewable subscription screens (Guideline 3.1.2).
5. Account registration without in-app Account Deletion flow (Guideline 5.1.1(v)).
6. Third-party primary-account login without an equivalent option when Guideline 4.8 applies. Check Apple’s stated exceptions.
7. External purchase links or digital-goods checkout that need review under Guidelines 3.1.1 and 3.1.3. Check the storefront, app category and applicable entitlements before classifying the finding.
8. Placeholder strings (`Lorem ipsum`, `TODO`, `Coming soon`, `Test Mode`) in user-facing SwiftUI views (Guideline 2.1).
9. Hardcoded `localhost` / `127.0.0.1` / `http://` endpoints without ATS exception or production switch.
10. Force-unwrapped demo URLs or missing empty/error states in network-backed views.
11. `NSAllowsArbitraryLoads = true` left globally enabled in `Info.plist`.
12. Debug logging of auth tokens or PII in release builds.

### 3. Verify the result

Output a prioritized pre-submission report grouped by `BLOCK_REVIEW` vs. `WARN`, citing exact `file:line`, the current Apple guideline, and the smallest relevant fix. Treat a static signal as a review lead until applicability is confirmed.

## Examples

```text
User request: Check our SwiftUI app before submitting v1.2 to App Store Review.
Inputs: `Info.plist` and `PaywallView.swift` using StoreKit 2 without a Restore Purchases button.
Expected result (illustrative): Flags `IOS_MISSING_RESTORE_PURCHASES` (Guideline 3.1.1) and `IOS_MISSING_SUBSCRIPTION_LEGAL_LINKS` (Guideline 3.1.2) with exact lines and SwiftUI button snippets.
```

## Limitations

- Static analysis cannot inspect App Store Connect metadata, screenshots, demo reviewer credentials, or runtime crash paths.

## Safety and side effects

Read-only static inspection (`risk: safe`). Makes no edits to project files, certificates, or App Store Connect state.

## Sources and related skills

- [Current Apple App Review Guidelines](https://developer.apple.com/app-store/review/guidelines/).
- [MIT-licensed upstream reference](https://github.com/Tomsabay/ios-appstore-preflight/tree/93984fa151fb593484fd32df07798034fcc2c4fd).

Files in this skill

  • LICENSE619 B
  • SKILL.md4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.