Cette page est affichée en anglais. Une traduction française est en cours.
ConfigsMay 30, 2026·3 min de lecture

App Store Connect CLI — Scriptable CLI for Apple App Distribution

App Store Connect CLI is a fast, JSON-first command-line tool for automating Apple App Store Connect workflows. It handles TestFlight builds, submissions, signing, analytics, and subscriptions without interactive prompts.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 29/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
CLI Tool
Installation
Single
Confiance
Confiance : Established
Point d'entrée
App Store Connect CLI
Commande de staging sûr
npx -y tokrepo@latest install efd2a35a-5c21-11f1-9bc6-00163e2b0d79 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

App Store Connect CLI provides a non-interactive, scriptable interface to the App Store Connect API. It replaces manual web portal usage with deterministic CLI commands, making it suitable for CI/CD pipelines and automated release workflows.

What App Store Connect CLI Does

  • Lists and manages apps, builds, and TestFlight groups
  • Automates build submissions and review processes
  • Retrieves analytics data for downloads, revenue, and engagement
  • Manages signing certificates and provisioning profiles
  • Handles in-app purchase and subscription configuration

Architecture Overview

The tool is written in Go and communicates directly with Apple's App Store Connect REST API using JWT-based authentication. It serializes all output as JSON by default, making it composable with tools like jq. Authentication uses the same API key mechanism as Apple's official tools, requiring an issuer ID, key ID, and private key file.

Self-Hosting & Configuration

  • Download a single binary for your platform from GitHub releases
  • Authenticate by setting environment variables for API key credentials
  • Store API keys securely and reference them via environment variables
  • Supports configuration files for multi-team setups
  • Integrates with CI systems like GitHub Actions and GitLab CI

Key Features

  • JSON-first output for easy parsing in automation scripts
  • No interactive prompts ensuring CI/CD compatibility
  • Comprehensive API coverage including analytics and subscriptions
  • Single static binary with no runtime dependencies
  • Fast execution with concurrent API request handling

Comparison with Similar Tools

  • Fastlane — Ruby-based, broad feature set but heavy runtime; this CLI is a single Go binary
  • Apple's Transporter — limited to content delivery; this CLI covers the full App Store Connect API
  • altool — deprecated Apple CLI; this provides a modern replacement
  • Xcode Cloud — Apple's CI/CD service tied to Xcode; this CLI works with any CI system

FAQ

Q: Do I need a paid Apple Developer account? A: Yes, an active Apple Developer Program membership is required to access the App Store Connect API.

Q: Can I use this for both iOS and macOS apps? A: Yes, it supports all platforms available in App Store Connect including iOS, macOS, tvOS, and watchOS.

Q: How do I set up authentication? A: Generate an API key in App Store Connect, then provide the issuer ID, key ID, and private key file via environment variables.

Q: Does it support App Store Connect notifications? A: It can query build and submission statuses; for push notifications, use Apple's webhook integrations.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires