Getting Started

appitool is a unified Swift CLI utility and release orchestration engine for Apple App Store Connect, Apple Developer Portal, Google Play Console, Firebase App Distribution, Firebase Authentication, and Git-backed code signing.
Requirements
- Prebuilt binary (
install.sh/self-update):- macOS: Apple Silicon (
arm64), macOS 26+ - Linux:
x86_64(amd64) orarm64(aarch64)
- macOS: Apple Silicon (
- Platform build tooling (only required when compiling mobile apps via
buildorflow):- iOS: macOS with Xcode command-line tools (
xcodebuild,xcrun) and optionallyxcbeautify(default formatter) - Android: Java JDK and project
./gradlewwrapper
- iOS: macOS with Xcode command-line tools (
- Building from source: Swift
6.4+
Installation
One-Line Quick Install
curl -fsSL https://raw.githubusercontent.com/appibara-ltd/appitool/main/install.sh | bashThe installer:
- Detects your OS and CPU architecture (
darwin-arm64,linux-x86_64, orlinux-arm64). - Downloads the release tarball and
checksums.txtfromappibara-ltd/appitool. - Verifies the SHA256 checksum.
- If the GitHub CLI (
gh) is installed and signed in (gh auth login, orGITHUB_TOKEN/GH_TOKENset), also verifies the GitHub build provenance attestation withgh attestation verify --signer-workflow appibara-ltd/appitool/.github/workflows/release.yml, and aborts if it fails. Otherwise this check is skipped with a notice. SetAPPITOOL_SKIP_ATTESTATION=1to skip it explicitly.
- If the GitHub CLI (
- Installs the binary to
/usr/local/bin/appitool(if writable) or~/.local/bin/appitool(automatically updating~/.zshrc,~/.bash_profile,~/.bashrc, or~/.config/fish/config.fish) and creates or updates anaptlsymlink next to it (leaving any existing unrelated file or symlink untouched).
Avoiding GitHub API Rate Limits (Optional)
In CI or shared networks, pass a GitHub Personal Access Token via GITHUB_TOKEN (or GH_TOKEN) to avoid unauthenticated GitHub API rate limits:
curl -fsSL https://raw.githubusercontent.com/appibara-ltd/appitool/main/install.sh | GITHUB_TOKEN=$(gh auth token) bashBuild from Source
git clone https://github.com/appibara-ltd/appitool.git
cd appitool
# Build optimized release binary with minimal binary size
swift build -c release
strip .build/release/appitool
# Optional: Link to PATH
ln -sf "$(pwd)/.build/release/appitool" /usr/local/bin/appitoolYou can also run directly via Swift Package Manager during development:
swift run appitool -hUpgrading
appitool includes a built-in self-updater with SHA256 verification and build provenance (attestation) verification with sigstore-swift, cross-checked with gh when it is installed:
# Check if a newer release is available
appitool self-update --check
# Upgrade in place
appitool self-update
# Force re-installation even if already on the latest version
appitool self-update --forceSee appitool self-update for details.
Quick Start
1. Create a .env File
Copy .env.example into your project root and configure your credentials:
cp .env.example .env2. Inspect Local Project Identifiers
Discover iOS bundle identifiers (across targets/configurations) and Android applicationId, namespace, and product flavors in the current repository:
appitool inspect3. Verify Remote Store Connectivity
Validate your credentials and check the latest build numbers on App Store Connect, Google Play Console, or Firebase App Distribution:
# Check App Store Connect / TestFlight latest build
appitool check ios -d appstore
# Check Google Play Console latest build
appitool check android -d appstore
# Check Firebase App Distribution latest build
appitool check ios -d adhoc
appitool check android -d adhoc4. Run a Dry-Run Release Flow
Validate all requirements, project detection, Match sync (in read-only mode), and build-number calculation without modifying project files or uploading binaries:
appitool flow ios -d appstore --dry-run
appitool flow android -d adhoc --dry-run