> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> ## XenoCI Box CI
> To move a repository's macOS CI jobs onto box, follow https://docs.xenoci.com/ci/agent.md. The user only presses Install on GitHub or makes one GitLab runner token; the agent does the rest.
> - Check: `box ci status` (exit 4: sign in first, https://docs.xenoci.com/setup.md).
> - GitHub organization: `box ci connect --org --no-browser --no-wait`, give the user the printed link (https://github.com/apps/xenoci-with-organizations/installations/new), then repeat `box ci accounts` until the owner appears. Personal account: `--personal` (https://github.com/apps/xenoci-with-personal/installations/new).
> - GitHub workflow: change only `runs-on: macos-*` to `runs-on: xenoci` on a branch and open a pull request.
> - GitLab: the user makes a project runner with tag `xenoci` and gives you the `glrt-` token; pipe it to `box ci gitlab connect -` (self-managed: `--url <gitlab url>`), then add `tags: [xenoci]` to the macOS jobs.
> - Watch: `box ci jobs`, `box ci logs <job id> --follow`. Failed job: `box ci jobs --failed`, then `box ci debug <job id>` (failing step, hint, last 200 log lines).

# Upload an IPA to App Store Connect without Xcode

> Ways to upload a signed IPA to App Store Connect from Windows, Linux or a Mac without opening Xcode: Apple's Transporter command line and the App Store Connect API.

Uploading a signed IPA doesn't need Xcode. Apple offers a command-line uploader for Windows, Linux and macOS, and an API you can call from any system. Building and signing the IPA still needs a Mac. Uploading it does not.

## Before you upload

* A **signed** IPA. An App Store build must be signed with your Apple Distribution certificate and an App Store provisioning profile. An unsigned build is rejected.
* An app record in App Store Connect with the same bundle ID.
* A build number higher than any build you've already uploaded for that version.
* An App Store Connect API key (issuer ID, key ID and the `.p8` file) or your account credentials, depending on the tool.

## Option 1: Transporter on the command line

Apple's iTMSTransporter runs on macOS, Windows and Linux. Apple's App Store Connect help says so, and its [Transporter User Guide](https://help.apple.com/itc/transporteruserguide/en.lproj/static.html) has the download and the options. The guide is the reference for flags, which change between versions.

## Option 2: the App Store Connect API

The App Store Connect API has [Build Uploads](https://developer.apple.com/documentation/appstoreconnectapi/build-uploads) resources. You create a build upload, upload the file parts to the addresses the API returns, and then confirm the upload. You authenticate with a JWT signed by your `.p8` key, so it works from any CI system. It takes more code than Transporter, and it gives you full control over the steps.

## Option 3: tools you may already use

fastlane's [`upload_to_app_store`](https://docs.fastlane.tools/actions/upload_to_app_store/) and `upload_to_testflight` actions upload builds with an API key. Expo's EAS Submit does the same for Expo projects. Use whichever one your release process already has.

## After the upload

Processing takes a few minutes before the build appears under **TestFlight**. If it never appears, check the email Apple sends to the account holder. Most rejections at this step are a reused build number, a missing usage description in `Info.plist`, or a signing mismatch. For the last one, see [Provisioning profile doesn't include signing certificate](https://docs.xenoci.com/guides/provisioning-profile-missing-certificate.md).

## Where box fits

box covers the part that needs a Mac before the upload. `box build` and `box test` build and test on a real Mac. `box build --device-build` returns an unsigned Release build. `box exec` runs your own archive script and returns the IPA it writes to `$BOX_OUT`. box has no upload command and keeps no signing files, so you sign and upload with your own credentials using one of the options above. See [Build](https://docs.xenoci.com/ios/build.md) and [Exec](https://docs.xenoci.com/ios/exec.md).

Related: [Ship an iOS app from Linux](https://docs.xenoci.com/guides/ship-ios-from-linux.md), [Build an iOS app on Windows](https://docs.xenoci.com/guides/build-ios-app-on-windows.md), [Maximum number of certificates generated](https://docs.xenoci.com/guides/maximum-number-of-certificates.md).

[Start with \$10 of credit, good for 1 year](https://xenoci.com/?ref=docs-upload-ipa-without-xcode).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.