Codemagic CLI Tools are Python packages with executables for Android and iOS signing, store APIs, and Xcode project tasks, usable locally or in CI.
Overview
Codemagic CLI Tools is a collection of command-line utilities for mobile application delivery workflows. They focus on tasks that surround building Android and iOS apps, managing keystores and keychains, talking to App Store Connect and Google Play APIs, and manipulating Xcode projects.
Installing the PyPI package exposes named executables such as android-app-bundle, android-keystore, app-store-connect, google-play, keychain, universal-apk, and xcode-project. Each command supports --help output, and the same capabilities are available programmatically through the codemagic.tools Python API for scripts and automation.
The tools are used in Codemagic’s hosted CI service but are designed to run in other virtual environments or on a developer machine. They require Python 3.8 or newer and install through standard pip workflows.
Typical uses include automating store uploads, generating changelogs, preparing signed bundles, and orchestrating mobile release steps without clicking through vendor consoles for every build.
Key features
- App Store Connect API CLI
- Google Play publishing CLI
- Android keystore and bundle tools
- Xcode project helper commands
- Keychain management utility
- Universal APK tooling
- Mirrored Python API in codemagic.tools
- PyPI install with pip
Use cases
- Automating iOS TestFlight uploads
- Managing Android signing in CI
- Scripting Google Play releases
- Local mobile release without hosted CI
- Integrating store APIs into custom pipelines