Skip to main content
In CI, give the apsio CLI your project’s upload token through the APSIO_TOKEN environment variable, kept in your CI provider’s secrets. Never pass it as a command-line flag: flags show in logs and in the process list.

After an archive

With APSIO_TOKEN set, apsio upload dsyms needs nothing else. If your archive step runs the Xcode build phase, it uploads already; the second command then finds every file on the server and uploads nothing.

GitHub Actions

Storing the token for later steps

When several steps call the CLI, store the token once. --with-token reads it from standard input, so it never appears in the command line:
apsio login checks the token against the server before it stores it; it exits with code 3 when the server refuses it.

Exit codes in CI

apsio upload dsyms --json prints a report your pipeline can read. See Upload dSYMs.