npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ios-app-review-plugin

v1.1.0

Published

Claude Code MCP plugin to review iOS apps before App Store submission

Downloads

357

Readme

iOS App Store Review Plugin

CI npm version License: MIT

Catch App Store rejection issues before you submit. Works as a CLI tool and a Claude Code MCP server.

What It Does

Analyzes your Xcode project and App Store Connect metadata to flag issues that cause App Store rejections:

  • Info.plist — missing keys, invalid privacy descriptions, deployment target issues
  • Privacy Manifest — iOS 17+ Required Reason API declarations
  • Entitlements — misconfigured capabilities, debug-only entitlements in release
  • Code Scanner — hardcoded secrets, debug statements, force unwraps, deprecated APIs
  • Deprecated APIs — UIWebView, AddressBook, and 50+ other deprecated symbols
  • Private APIs — detection of undocumented Apple APIs that cause rejection
  • Security — ATS exceptions, insecure storage, weak crypto, jailbreak detection
  • UI/UX Compliance — launch storyboard, orientation, accessibility, dark mode
  • App Store Connect — metadata completeness, screenshots, version state, IAP config
  • Custom Rules — define project-specific checks with regex patterns

Quick Start

CLI

npm install -g ios-app-review-plugin

# Scan a project
ios-app-review scan ./MyApp.xcodeproj

# JSON output to file
ios-app-review scan ./MyApp.xcodeproj --format json --output report.json

# Specific analyzers only
ios-app-review scan ./MyApp.xcodeproj --analyzers code,security,privacy

# Incremental scan (only changed files)
ios-app-review scan ./MyApp.xcodeproj --changed-since main

# With badge generation
ios-app-review scan ./MyApp.xcodeproj --badge --output report.md

MCP Server (Claude Code)

Add to ~/.claude/mcp_servers.json:

{
  "ios-app-review": {
    "command": "node",
    "args": ["/path/to/ios-app-review-plugin/dist/index.js"],
    "env": {
      "ASC_KEY_ID": "your-key-id",
      "ASC_ISSUER_ID": "your-issuer-id",
      "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
    }
  }
}

Then in Claude Code:

Review my iOS app at ./MyApp.xcodeproj before submission

CLI Reference

USAGE
  ios-app-review <command> [options]

COMMANDS
  scan <path>    Analyze an Xcode project
  help           Show usage information
  version        Print version

SCAN OPTIONS
  -f, --format <type>      Output format: markdown, html, json (default: markdown)
  -o, --output <path>      Write report to file (default: stdout)
  -a, --analyzers <list>   Comma-separated analyzer names
      --include-asc        Include App Store Connect validation
      --changed-since <ref> Only scan files changed since git ref
  -c, --config <path>      Path to custom rules file
      --badge              Generate SVG badge alongside report
      --save-history       Save results for historical comparison

EXIT CODES
  0  All checks passed
  1  Issues with errors found
  2  Invalid arguments or runtime error

Analyzers

| Name | Key | Description | |------|-----|-------------| | Info.plist | info-plist | Required keys, privacy descriptions, bundle config | | Privacy Manifest | privacy | iOS 17+ Required Reason API declarations | | Entitlements | entitlements | Capability configuration, debug entitlements | | Code Scanner | code | Secrets, debug code, force unwraps, TODOs | | Deprecated API | deprecated-api | UIWebView, AddressBook, and 50+ deprecated symbols | | Private API | private-api | Undocumented Apple API usage | | Security | security | ATS, crypto, storage, jailbreak detection | | UI/UX | ui-ux | Launch screen, orientation, accessibility | | ASC Metadata | asc-metadata | App name, description, screenshots, privacy policy | | ASC Screenshots | asc-screenshots | Screenshot counts, dimensions per device | | ASC Version | asc-version | Version state, build attachment, copyright | | ASC IAP | asc-iap | In-app purchase localization, pricing |

Custom Rules

Create .ios-review-rules.json in your project root:

{
  "version": 1,
  "rules": [
    {
      "id": "no-force-unwrap",
      "title": "Avoid force unwrapping",
      "description": "Force unwrapping can cause crashes",
      "severity": "warning",
      "pattern": "\\w+!\\.",
      "fileTypes": [".swift"],
      "category": "code"
    }
  ]
}

See Custom Rules Guide for full documentation.

CI/CD Integration

GitHub Actions

- uses: ./.github/actions/ios-review
  with:
    project-path: ./MyApp.xcodeproj
    format: json

Also available: Fastlane, Bitrise, Xcode Cloud.

See CI/CD Guide for detailed setup instructions.

App Store Connect Setup

  1. Go to App Store Connect > Users and Access > Integrations > Keys
  2. Generate an API Key with "App Manager" role
  3. Download the .p8 file
  4. Set environment variables: ASC_KEY_ID, ASC_ISSUER_ID, ASC_PRIVATE_KEY_PATH

See ASC Setup Tutorial.

Project Structure

src/
  index.ts              Dual-mode entry point (CLI + MCP server)
  analyzer.ts           Parallel analysis orchestrator
  cli/                  CLI commands (scan, help, version)
  analyzers/            12 analyzer implementations
  asc/                  App Store Connect API client
  parsers/              Xcode project + plist parsers
  reports/              Markdown, HTML, JSON formatters
  guidelines/           App Store Guidelines cross-reference
  rules/                Custom rule engine
  history/              Scan history + comparison
  cache/                File-level caching
  git/                  Git diff for incremental scanning
  progress/             Progress reporting
  badge/                SVG badge generation

Documentation

Development

npm install
npm run build
npm test
npm run benchmark

License

MIT License - see LICENSE for details.