CLI · @takeoff-app/cli 0.1.0

takeoff, in your terminal.

Build your iOS, tvOS and visionOS app with Xcode from the terminal and hand the .ipa to TakeOff. It waits on the Builds screen, one press from TestFlight, and is uploaded with the key TakeOff already keeps in your Keychain. The CLI needs no key of its own.

Install

zsh
$ npm install -g @takeoff-app/cli
$ takeoff doctor

On the Mac where TakeOff runs, with Xcode. Open your app in TakeOff once, so the CLI knows it. takeoff doctor checks Xcode and access to TakeOff’s folder.

How it works

  1. 1

    Build

    takeoff build archives the scheme and exports it for App Store Connect, signed automatically. It exports to disk; it never uploads.

  2. 2

    Check

    The bundle ID has to match an app in TakeOff, and a version and build Apple already has is refused before anything is handed over.

  3. 3

    Upload

    In TakeOff, the build waits under Ready to upload on the Builds screen. Upload to TestFlight sends it to Apple; once Apple has the file, the copy on your Mac is removed.

Every release

zsh
$ cd MyApp
$ takeoff build --scheme MyApp --build-number auto --app com.example.myapp

--build-number auto takes one more than the highest build number TakeOff has seen for the app. Already exported an .ipa? takeoff add ./MyApp.ipa.

Commands

takeoff build Archive and export the app with Xcode, then put the .ipa into TakeOff
takeoff add <file.ipa> Put an .ipa you already exported into TakeOff
takeoff builds List the builds waiting in TakeOff (--json for scripts)
takeoff remove <version> <build> Remove a waiting build without uploading it
takeoff apps List the apps TakeOff knows on this Mac, with Apple ID and bundle ID
takeoff doctor Check Xcode and access to TakeOff’s folder

Every option is in the CLI reference, and in takeoff <command> --help. Mac apps export as .pkg and are not built by the CLI yet.