fastlane: The call to the altool completed with a non-zero exit status: -1. This indicates a failure

New Issue Checklist

Issue Description

I am facing a issue uploading the app via altool, getting an error bellow, I have verified and the IPA is being created and we are able to connect to the API

Image

Image

ERROR [2025-05-13 09:36:53.58]: Process crashed ERROR [2025-05-13 09:36:53.58]: The call to the altool completed with a non-zero exit status: -1. This indicates a failure. ERROR [2025-05-13 09:36:53.58]: -1 indicates altool exited abnormally; try retrying (see https://github.com/fastlane/fastlane/issues/21535) ERROR [2025-05-13 09:36:53.58]: Could not download/upload from App Store Connect! I

Command executed
appstore(ipa: ipa_file_path,
            force: true,
            release_notes: { ios_apple_language => app_stores_release_notes },
            skip_screenshots: true,
            precheck_include_in_app_purchases: false,
            api_key: ios_apple_api_key,
            run_precheck_before_submit: true,
            skip_binary_upload: false
)

Environment

✅ fastlane environment ✅

Stack

Key Value
OS 15.3.1
Ruby 2.6.0
Bundler? true
Git git version 2.39.5 (Apple Git-154)
Installation Source ~/.rbenv/versions/2.6.0/bin/fastlane
Host macOS 15.3.1 (24D70)
Ruby Lib Dir ~/.rbenv/versions/2.6.0/lib
OpenSSL Version OpenSSL 1.1.1w 11 Sep 2023
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode-16.1.0.app/Contents/Developer/
Xcode Version 16.1
Swift Version 6.0.2

System Locale

Variable Value
LANG en_GB.UTF-8 ✅
LC_ALL
LANGUAGE

fastlane gems

Gem Version Update-Status
fastlane 2.227.2 ✅ Up-To-Date

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-cordova 3.1.2 ✅ Up-To-Date
fastlane-plugin-discord_notifier 0.1.7 ✅ Up-To-Date
fastlane-plugin-firebase_app_distribution 0.10.1 ✅ Up-To-Date

Loaded gems

Gem Version
did_you_mean 1.3.0
bundler 2.4.2
rake 13.2.1
rexml 3.2.6
CFPropertyList 3.0.6
concurrent-ruby 1.2.3
i18n 1.14.1
minitest 5.21.2
tzinfo 2.0.6
zeitwerk 2.6.12
activesupport 6.1.7.6
public_suffix 4.0.7
addressable 2.8.6
httpclient 2.8.3
json 2.7.1
algoliasearch 1.27.5
artifactory 3.0.17
atomos 0.1.3
aws-eventstream 1.3.2
aws-partitions 1.1103.0
aws-sigv4 1.11.0
base64 0.2.0
jmespath 1.6.2
logger 1.7.0
aws-sdk-core 3.224.0
aws-sdk-kms 1.101.0
aws-sdk-s3 1.186.0
babosa 1.0.4
claide 1.1.0
fuzzy_match 2.0.4
nap 1.1.0
netrc 0.11.0
ffi 1.16.3
ethon 0.16.0
typhoeus 1.4.1
cocoapods-core 1.14.3
cocoapods-deintegrate 1.0.5
cocoapods-downloader 2.1
cocoapods-plugins 1.0.0
cocoapods-search 1.0.1
cocoapods-trunk 1.6.0
cocoapods-try 1.2.0
colored2 3.1.2
escape 0.0.4
fourflusher 2.3.1
gh_inspector 1.1.3
molinillo 0.8.0
ruby-macho 2.5.1
nanaimo 0.3.0
xcodeproj 1.24.0
cocoapods 1.14.3
colored 1.2
highline 2.0.3
commander 4.6.0
declarative 0.0.20
digest-crc 0.7.0
http-accept 1.7.0
unf 0.2.0
domain_name 0.5.20190701
http-cookie 1.0.8
mime-types-data 3.2025.0514
mime-types 3.7.0
rest-client 2.1.0
discordrb-webhooks 3.3.0
opus-ruby 1.0.1
rbnacl 3.4.0
event_emitter 0.2.6
websocket 1.2.11
websocket-client-simple 0.3.1
discordrb 3.3.0
dotenv 2.8.1
emoji_regex 3.2.3
excon 0.109.0
faraday-em_http 1.0.0
faraday-em_synchrony 1.0.0
faraday-excon 1.1.0
faraday-httpclient 1.0.1
multipart-post 2.4.1
faraday-multipart 1.1.0
faraday-net_http 1.0.2
faraday-net_http_persistent 1.2.0
faraday-patron 1.0.0
faraday-rack 1.0.0
faraday-retry 1.0.3
ruby2_keywords 0.0.5
faraday 1.10.4
faraday-cookie_jar 0.0.7
faraday_middleware 1.2.1
fastimage 2.4.0
sysrandom 1.0.5
fastlane-sirp 1.0.0
jwt 2.10.1
multi_json 1.15.0
os 1.1.4
signet 0.18.0
googleauth 1.8.1
mini_mime 1.1.5
trailblazer-option 0.1.2
uber 0.1.0
representable 3.2.0
retriable 3.1.2
google-apis-core 0.11.3
google-apis-androidpublisher_v3 0.54.0
google-apis-playcustomapp_v1 0.13.0
google-cloud-env 1.6.0
google-apis-iamcredentials_v1 0.17.0
google-apis-storage_v1 0.29.0
google-cloud-errors 1.3.1
google-cloud-core 1.6.1
google-cloud-storage 1.45.0
mini_magick 4.13.2
naturally 2.2.1
optparse 0.6.0
plist 3.7.1
rubyzip 2.4.1
security 0.1.5
simctl 1.6.10
terminal-notifier 2.0.0
unicode-display_width 2.6.0
terminal-table 3.0.2
tty-screen 0.8.2
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
rouge 3.28.0
xcpretty 0.4.1
xcpretty-travis-formatter 1.0.1
fastlane-plugin-cordova 3.1.2
fastlane-plugin-discord_notifier 0.1.7
google-apis-firebaseappdistribution_v1 0.3.0
google-apis-firebaseappdistribution_v1alpha 0.2.0
fastlane-plugin-firebase_app_distribution 0.10.1

About this issue

Most upvoted comments

I believe there is a issue, here, those string placeholders for YourPassword / YourKeyID / YourIssuerID / YourTmpP8KeyDir
Those dont appear to be replaced with the correct information?

Image

Same happening for me. Pipeline was successfully uploading to appstoreconnect May 13. Then started failing with

12:08:48 [Application Loader Error Output]: The call to the altool completed with a non-zero exit status: -1. This indicates a failure. 12:08:48 [Application Loader Error Output]: -1 indicates altool exited abnormally;

on May 14.

Xcode 16.0 MacOS 14.5 Fastlane 2.225.0

seeing the exact same error here with the upload_to_testflight method. This worked a few months ago for me, so something must have changed with the transporter. The FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD is already being set, as well as the app_identifier, apple_id and team_id using the method parameters.

Edit: sorry disregard, my error was completely different and unrelated to this issue.