Skip to content

upload_to_testflight succeeded, despite that altool upload failed with errors #29938

Description

@PJ-LSYP

New Issue Checklist

Issue Description

As in a title, the upload_to_testflight succeeded, despite that altool upload failed with errors (logs below in output section)

Command executed

upload_to_testflight

Complete output when running fastlane, including the stack trace and command used
2026-03-04T13:32:23.7341470Z INFO [2026-03-04 14:32:23.73]: --- Step: upload_to_testflight ---

2026-03-04T13:32:23.7341730Z INFO [2026-03-04 14:32:23.73]: ----------------------------------
2026-03-04T13:32:23.7343660Z INFO [2026-03-04 14:32:23.73]: Creating authorization token for App Store Connect API
2026-03-04T13:32:23.7347060Z DEBUG [2026-03-04 14:32:23.73]: App identifier (some.identifier)
2026-03-04T13:32:24.5590510Z INFO [2026-03-04 14:32:24.55]: Ready to upload new build to TestFlight (App: 0123456789)...
2026-03-04T13:32:24.6219530Z DEBUG [2026-03-04 14:32:24.62]: App Platform (ios)
2026-03-04T13:32:25.5444510Z INFO [2026-03-04 14:32:25.54]: Wrote XML data to '/var/folders/nm/**********************/T/********************/********************************.itmsp'
2026-03-04T13:32:25.5444990Z DEBUG [2026-03-04 14:32:25.54]: Using altool as transporter.
2026-03-04T13:32:25.5885930Z INFO [2026-03-04 14:32:25.58]: Going to upload updated app to App Store Connect
2026-03-04T13:32:25.5886200Z INFO [2026-03-04 14:32:25.58]: This might take a few minutes. Please don't interrupt the script.
2026-03-04T13:32:25.5893700Z DEBUG [2026-03-04 14:32:25.58]: API_PRIVATE_KEYS_DIR=YourTmpP8KeyDir xcrun altool --upload-app --apiKey YourKeyID --apiIssuer YourIssuerID -t ios -f /var/folders/nm/*********************************/T/***********************.ipa -k 100000
2026-03-04T13:32:26.2334750Z DEBUG [2026-03-04 14:32:26.23]: [altool]: Running altool at path '/Applications/Xcode-26.2.0.app/Contents/SharedFrameworks/ContentDelivery.framework/Resources/altool'...
2026-03-04T13:32:26.2335480Z 
2026-03-04T13:32:26.2339370Z DEBUG [2026-03-04 14:32:26.23]: [altool]: 
2026-03-04T13:32:26.2339640Z 
2026-03-04T13:38:01.1745540Z DEBUG [2026-03-04 14:38:01.17]: [altool]: 2026-03-04 14:38:01.173 ERROR: [ContentDelivery.Uploader.102C87210] 
2026-03-04T13:38:01.1748440Z 
2026-03-04T13:38:01.1748930Z DEBUG [2026-03-04 14:38:01.17]: [altool]: =======================================
2026-03-04T13:38:01.1749210Z 
2026-03-04T13:38:01.1749540Z DEBUG [2026-03-04 14:38:01.17]: [altool]: UPLOAD FAILED with 3 errors
2026-03-04T13:38:01.1749680Z 
2026-03-04T13:38:01.1750020Z DEBUG [2026-03-04 14:38:01.17]: [altool]: =======================================
2026-03-04T13:38:01.1750170Z 
2026-03-04T13:38:01.1754840Z DEBUG [2026-03-04 14:38:01.17]: [altool]: Failed to upload package.
2026-03-04T13:38:01.1755070Z 
2026-03-04T13:38:01.1762960Z DEBUG [2026-03-04 14:38:01.17]: [altool]: 2026-03-04 14:38:01.176 ERROR: [altool.102C87210] Validation failed (409) CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'other.framework.identifier' under the iOS application 'MyApp.app'. (ID: ********************************)
2026-03-04T13:38:01.1763560Z 
2026-03-04T13:38:01.1764080Z DEBUG [2026-03-04 14:38:01.17]: [altool]:    NSUnderlyingError : Validation failed (-19241) CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'other.framework.identifier' under the iOS application 'MyApp.app'.
2026-03-04T13:38:01.1764580Z 
2026-03-04T13:38:01.1764840Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       status : 409
2026-03-04T13:38:01.1765040Z 
2026-03-04T13:38:01.1765560Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       detail : CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'other.framework.identifier' under the iOS application 'MyApp.app'.
2026-03-04T13:38:01.1765830Z 
2026-03-04T13:38:01.1766200Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       id : ********************************
2026-03-04T13:38:01.1766360Z 
2026-03-04T13:38:01.1766710Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       code : STATE_ERROR.VALIDATION_ERROR
2026-03-04T13:38:01.1766880Z 
2026-03-04T13:38:01.1767330Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       title : Validation failed
2026-03-04T13:38:01.1767800Z 
2026-03-04T13:38:01.1768760Z DEBUG [2026-03-04 14:38:01.17]: [altool]:    iris-code : STATE_ERROR.VALIDATION_ERROR
2026-03-04T13:38:01.1771150Z 
2026-03-04T13:38:01.1772600Z DEBUG [2026-03-04 14:38:01.17]: [altool]: Validation failed (409) Invalid Bundle. The bundle at 'MyApp.app/Frameworks/MyFramework.framework' contains disallowed nested bundles. (ID: ********************************)
2026-03-04T13:38:01.1773000Z 
2026-03-04T13:38:01.1773370Z DEBUG [2026-03-04 14:38:01.17]: [altool]:    NSUnderlyingError : Validation failed (-19241) Invalid Bundle. The bundle at 'MyApp.app/Frameworks/MyFramework.framework' contains disallowed nested bundles.
2026-03-04T13:38:01.1773800Z 
2026-03-04T13:38:01.1774030Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       status : 409
2026-03-04T13:38:01.1774240Z 
2026-03-04T13:38:01.1774570Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       detail : Invalid Bundle. The bundle at 'MyApp.app/Frameworks/MyFramework.framework' contains disallowed nested bundles.
2026-03-04T13:38:01.1774850Z 
2026-03-04T13:38:01.1775200Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       id : ********************************
2026-03-04T13:38:01.1775340Z 
2026-03-04T13:38:01.1775680Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       code : STATE_ERROR.VALIDATION_ERROR
2026-03-04T13:38:01.1775820Z 
2026-03-04T13:38:01.1778320Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       title : Validation failed
2026-03-04T13:38:01.1779740Z 
2026-03-04T13:38:01.1780350Z DEBUG [2026-03-04 14:38:01.17]: [altool]:    iris-code : STATE_ERROR.VALIDATION_ERROR
2026-03-04T13:38:01.1780500Z 
2026-03-04T13:38:01.1781010Z DEBUG [2026-03-04 14:38:01.17]: [altool]: Validation failed (409) Invalid Bundle. The bundle at 'MyApp.app/Frameworks/MyFramework.framework' contains disallowed file 'Frameworks'. (ID: ********************************)
2026-03-04T13:38:01.1783560Z 
2026-03-04T13:38:01.1784170Z DEBUG [2026-03-04 14:38:01.17]: [altool]:    NSUnderlyingError : Validation failed (-19241) Invalid Bundle. The bundle at 'MyApp.app/Frameworks/MyFramework.framework' contains disallowed file 'Frameworks'.
2026-03-04T13:38:01.1784430Z 
2026-03-04T13:38:01.1784800Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       status : 409
2026-03-04T13:38:01.1784920Z 
2026-03-04T13:38:01.1785260Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       detail : Invalid Bundle. The bundle at 'MyApp.app/Frameworks/MyFramework.framework' contains disallowed file 'Frameworks'.
2026-03-04T13:38:01.1785450Z 
2026-03-04T13:38:01.1785710Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       id : ********************************
2026-03-04T13:38:01.1785840Z 
2026-03-04T13:38:01.1786100Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       code : STATE_ERROR.VALIDATION_ERROR
2026-03-04T13:38:01.1786230Z 
2026-03-04T13:38:01.1786480Z DEBUG [2026-03-04 14:38:01.17]: [altool]:       title : Validation failed
2026-03-04T13:38:01.1786600Z 
2026-03-04T13:38:01.1786860Z DEBUG [2026-03-04 14:38:01.17]: [altool]:    iris-code : STATE_ERROR.VALIDATION_ERROR
2026-03-04T13:38:01.1787060Z 
2026-03-04T13:38:01.1865490Z INFO [2026-03-04 14:38:01.18]: -----------------------------------------------------
2026-03-04T13:38:01.1866130Z INFO [2026-03-04 14:38:01.18]: Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online.
2026-03-04T13:38:01.1866590Z INFO [2026-03-04 14:38:01.18]: -----------------------------------------------------
2026-03-04T13:38:01.1912070Z INFO [2026-03-04 14:38:01.19]: Successfully uploaded the new binary to App Store Connect

Environment

✅ fastlane environment ✅

Stack

Key Value
OS 26.3
Ruby 3.1.3
Bundler? false
Git git version 2.45.2
Installation Source ~/.rbenv/versions/3.1.3/bin/fastlane
Host macOS 26.3 (25D125)
Ruby Lib Dir ~/.rbenv/versions/3.1.3/lib
OpenSSL Version OpenSSL 3.3.1 4 Jun 2024
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode-26.2.0.app/Contents/Developer/
Xcode Version 26.2
Swift Version 6.2.3

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE en_US.UTF-8

fastlane files:

No Fastfile found

No Appfile found

fastlane gems

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

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
error_highlight 0.3.0
did_you_mean 1.6.1
jmespath 1.6.2
aws-sdk-core 3.232.0
aws-sdk-s3 1.198.0
babosa 1.0.4
colored 1.2
highline 2.0.3
commander 4.6.0
dotenv 2.8.1
emoji_regex 3.2.3
faraday-cookie_jar 0.0.7
sysrandom 1.0.5
fastlane-sirp 1.0.0
gh_inspector 1.1.3
google-apis-playcustomapp_v1 0.13.0
google-cloud-env 1.6.0
security 0.1.5
simctl 1.6.10
terminal-notifier 2.0.0
terminal-table 3.0.2
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
xcpretty-travis-formatter 1.0.1
rouge 3.28.0
xcpretty 0.4.1
abbrev 0.1.2
base64 0.2.0
csv 3.3.5
mutex_m 0.3.0
nkf 0.2.0
logger 1.7.0
benchmark 0.2.0
ostruct 0.5.2
set 1.0.2
public_suffix 6.0.2
addressable 2.8.7
artifactory 3.0.17
aws-eventstream 1.4.0
aws-sigv4 1.12.1
bigdecimal 3.2.3
aws-partitions 1.1155.0
aws-sdk-kms 1.112.0
bundler 2.6.9
rexml 3.4.4
CFPropertyList 3.0.7
excon 0.112.0
ruby2_keywords 0.0.5
faraday-retry 1.0.3
faraday-rack 1.0.0
faraday-patron 1.0.0
faraday-net_http_persistent 1.2.0
faraday-net_http 1.0.2
multipart-post 2.4.1
faraday-multipart 1.1.1
faraday-httpclient 1.0.1
faraday-excon 1.1.0
faraday-em_synchrony 1.0.1
faraday-em_http 1.0.0
faraday 1.10.4
faraday_middleware 1.2.1
domain_name 0.6.20240107
http-cookie 1.0.8
fastimage 2.4.0
httpclient 2.9.0
multi_json 1.19.1
jwt 2.10.2
signet 0.21.0
os 1.1.4
googleauth 1.8.1
mini_mime 1.1.5
retriable 3.1.2
trailblazer-option 0.1.2
declarative 0.0.20
uber 0.1.0
representable 3.2.0
google-apis-core 0.11.3
google-apis-androidpublisher_v3 0.54.0
rake 13.3.0
digest-crc 0.7.0
google-apis-storage_v1 0.31.0
google-apis-iamcredentials_v1 0.17.0
google-cloud-errors 1.5.0
google-cloud-core 1.8.0
google-cloud-storage 1.47.0
json 2.13.2
mini_magick 4.13.2
naturally 2.3.0
optparse 0.6.0
plist 3.7.2
rubyzip 2.4.1
unicode-display_width 2.6.0
tty-screen 0.8.2
nanaimo 0.4.0
colored2 3.1.2
claide 1.1.0
atomos 0.1.3
xcodeproj 1.27.0
forwardable 1.3.2
pathname 0.2.0
shellwords 0.1.0
cgi 0.3.5
date 3.2.2
timeout 0.2.0
stringio 3.0.1
securerandom 0.2.0
uri 0.11.0
ipaddr 1.2.4
io-wait 0.2.1
openssl 3.0.1
digest 3.1.0
io-nonblock 0.1.0
zlib 2.1.1
resolv 0.2.1
time 0.2.0
open-uri 0.2.0
net-http 0.3.0
net-protocol 0.1.2
english 0.7.1
erb 2.2.3
strscan 3.0.1
io-console 0.5.11
tempfile 0.1.2
delegate 0.2.0
fileutils 1.6.0
tmpdir 0.1.2
singleton 0.1.1
open3 0.1.1
prettyprint 0.1.1
pp 0.3.0
find 0.1.1
yaml 0.2.0
psych 4.0.4

generated on: 2026-03-05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions