liteship

Let AI agents or CI runners handle your entire iOS release flow — certificates, profiles, IPA uploads, store metadata, and App Review submission.

Three Workflows, One CLI

Hand it to an AI coding agent, wire it into CI/CD, or run interactively in your terminal. Accounts and configuration are shared seamlessly with the desktop client.

  • Runs on Windows, Linux, and macOS — no Mac or Xcode required
  • Install directly from source via go install github.com/dotcn999/appuploader-clone/cmd/liteship@latest
  • One release pipeline covers 19 steps with checkpoint resume
  • Built-in skill generators for Claude Code and Codex (AGENTS.md), with --json on every command
Build / Download Client Read Tutorial
liteship release[ 1/19] preflight   ok[ 2/19] account     ok[ 3/19] team        reused[ 4/19] bundle      exists[ 5/19] certs       reused[ 6/19] devices     reused[ 7/19] profiles    ok[ 8/19] signing     ok[ 9/19] app         exists[10/19] version     ok[11/19] upload      ok[12/19] build-wait  ok[13/19] metadata    ok[14/19] screenshots ok[15/19] previews    skipped[16/19] compliance  ok[17/19] review-info ok[18/19] submit      ok[19/19] testflight  okrelease finished; release type is MANUAL

Connect Your Stack

Same CLI syntax across AI agents and CI runners

Install Skill Definition into Claude Code

Once installed, Claude Code learns all CLI flags, JSON schemas, and safety rules so you can orchestrate releases in plain English.

liteship skill --install user     # Available across all projects
liteship skill --install project  # Scoped to current workspace
Example prompt: "Check whether our distribution certificate expires soon, ensure an App Store profile exists, upload build/App.ipa, and attach it to 1.4.0." The agent runs doctor first and creates only missing assets.

One liteship.yaml Per Project

liteship init scaffolds your project config for Bundle ID, signing mode, artifact paths, store assets, and release policies without storing secrets.

  • Credentials are loaded only from environment variables or local login state
  • Identical behavior in CI and on developer laptops
  • Relative paths work cleanly across machines
  • doctor validates every declared input before upload
liteship init --bundle-id com.example.app --name "My App"
liteship doctor --for-release
# liteship.yaml
version: 1
app:
  bundle_id: com.example.app
  name: My App
  sku: myapp001
  primary_locale: en-US
apple:
  team_id: ABCDE12345
  account: dev@example.com
paths:
  build: ./build/App.ipa
  screenshots: ./store/screenshots
  metadata: ./store/metadata
signing:
  mode: automatic
  certificate: distribution
  profile_type: app-store
release:
  build_wait: true
  submit: true
  testflight: true
compliance:
  encryption: false   # false if only standard HTTPS/TLS is used

19-Step Release Pipeline

Independent step tracking with resumable checkpoints

  1. 1preflightConfig & prerequisites
  2. 2accountSession / credentials
  3. 3teamTeam ID selection
  4. 4bundleIdempotent Bundle ID
  5. 5certsReuse or create certs
  6. 6devicesRegister test UDIDs
  7. 7profilesGenerate profiles
  8. 8signingmanifest.json output
  9. 9appFind or create App
  10. 10versionCreate / ensure version
  11. 11uploadIPA upload & dedup
  12. 12build-waitPoll processing state
  13. 13metadataLocalized store copy
  14. 14screenshotsBulk screenshot sets
  15. 15previewsApp preview videos
  16. 16complianceExport compliance
  17. 17review-infoReviewer notes & demo
  18. 18submitSubmit for App Review
  19. 19testflightTestFlight beta prep
State is persisted in .liteship/release-state.json. If the network drops after uploading the IPA, rerunning release resumes from the next unfinished step without re-uploading.

Stable Exit Codes

Predictable machine codes so agents and CI know whether to retry, fix input, or abort

Exit CodeSymbol & MeaningRecommended Handling
0ok (Success)Command succeeded; proceed to next step
1internal_error (Internal Error)Inspect stderr and structured --json details
2bad_input (Invalid Usage / Input)Fix command flags or run with --help
3not_found (Resource Not Found)Verify resource ID or create it first
4conflict (State Conflict)Duplicate name/build number or state mismatch
5capability_not_supported (Unsupported)Current account tier or mode does not allow this action
6forbidden (Permission Denied)Check Developer Team role permissions
7agreement_required (Agreement Required)Run liteship agreement accept
8rate_limited (Rate Limited)Back off exponentially and retry
9upstream_error (Engine / Upstream Error)Verify local engine and Apple service connectivity
10needs_2fa (Two-Factor Required)Complete 2FA in console or use an ASC API key
11bad_credentials (Invalid Credentials)Verify Apple ID, app-specific password, or .p8 key
12session_expired (Session Expired)Re-authenticate with liteship login
13license_required (License Required)Activate via liteship license activate
14wait_timeout (Timeout)Processing or network timed out; safe to retry
15team_required (Team Selection Needed)Pass --team or run team activate
130interrupted (Interrupted)Canceled or interrupted by SIGINT; safe to rerun

Run liteship exit-codes to print this table in JSON or text. Every --json failure sets a matching error.code.

Command Coverage Across the Entire Release Flow

Run any command with --help for full options and examples

GroupCommandsPurpose
Accountlogin / logout / account / team / whoami / api-key / agreementApple ID sessions, ASC API keys, team selection, and agreements
Projectinit / doctor / releaseConfig scaffolding, readiness checks, and 19-step pipeline
Signingbundle / cert / device / profile / signingBundle IDs, certificates, devices, provisioning profiles
App & Buildsapp / build / upload / files / inspect / install / versionApps, IPA upload/inspect, OTA/USB install, and versions
Storefrontmetadata / screenshot / preview / asset / custom-page / page-testLocalized listing text, screenshots, previews, custom pages, A/B tests
Reviewreview / testflight / pushApp Review submission, TestFlight beta review, and APNs push tests
Operationsiap / pricing / privacy / game-center / settings / udid / licenseIn-app purchases, pricing, privacy, Game Center, network/license settings
Utilitiesweb / skill / version / engine-version / exit-codesLaunch embedded Web UI, generate agent skills, version & exit codes

Guardrails Designed for AI Agents

Operate Apple Developer accounts autonomously without ambiguous output or accidental deletion

--json

Machine-Readable Output

Every command supports --json with deterministic envelopes. Progress logs go to stderr while structured results go to stdout.

Idempotent

Idempotent Creates

Creating existing resources returns created: false instead of failing half-way through a pipeline.

Zero Plaintext

No Secrets in Flags

Credentials come from environment variables or stored local accounts — never plain CLI password arguments.

--yes Gate

Explicit Confirmation

Destructive actions such as revocation or deletion require --yes outside an interactive TTY.

Manual Gate

Human Gate on Final Release

Automation stops after submitting for App Review unless you explicitly release an approved version.

Recovery

Actionable Recovery

Error payloads tell agents whether failure is retryable along with suggested follow-up commands.

Install Agent Skill Files

Keep your AI assistant aligned with your installed CLI version. Re-run after upgrading liteship so flags and schemas never drift.

  • ✓Install once for Claude Code and Codex to learn every flag and exit code
  • ✓Supports both user-wide and workspace-scoped skill definitions
  • ✓New to LiteShip? Start with the Tutorial Center
Agent Skill & Diagnostics
liteship skill --install user       # Install into Claude Code user skills
liteship skill --install project    # Install for this workspace only
liteship skill --format agents      # Print AGENTS.md markdown for Codex
liteship exit-codes                 # Print exit code reference