iOS Question Error when trying to upload an app to store, using "Upload app to AppStore connect"

falbertini

Member
Licensed User
Longtime User
Hello,
I am trying to update an IOS app that has been a long time since last update; and the app has been automatically retired from the store.

I renewed the certificates.
Then to upload the app, I built it using the build release (1), then download last build (2) and upload the app to appstore connect (3):

2025-05-08_16h34_23.png


But the upload does not work, the error i get is this:
=======================================
2025-05-08 10:33:30.919 [ContentDelivery.Uploader.600001CE0340] BuildID '7a718de2-7a5e-415d-94bc-2e869d828021' was deleted.
2025-05-08 10:33:30.923 [ContentDelivery.Uploader.600001CE0340] Removed the temporary asset directory '/Users/administrator/Library/Caches/com.apple.cds/com.apple.cds_31016CD5-780B-47AB-A6A6-8749F9C56ABD'.
2025-05-08 10:33:30.923 [ContentDelivery.Uploader.600001CE0340] Removing uploader saved state for identifier 'com.apple.cds_31016CD5-780B-47AB-A6A6-8749F9C56ABD'. Upload was cancelled.
2025-05-08 10:33:30.925 [ContentDelivery.Uploader.600001CE0340] Show Progress: Upload failed.
Validation failed
This bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app bundle and optional plugins in a Plugins directory. (ID: 06cfcec1-fcc4-42e3-b8d7-a9db9f292237)
2025-05-08 10:33:30.925 [ContentDelivery.Uploader.600001CE0340]
=============
UPLOAD FAILED with 1 error.
=============
2025-05-08 10:33:30.926 [ContentDelivery.Uploader.600001CE0340] Log file path: /Users/administrator/Library/Logs/ContentDelivery/com.apple.itunes.altool/com.apple.itunes.altool_Upload_2025-05-08_10-33-07_512.txt
2025-05-08 10:33:30.927 *** Error: Error uploading 'C:\Appl\Apple\sgdmobile\Objects\SgdMobile.ipa'.
2025-05-08 10:33:30.928 *** Error: Validation failed This bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app bundle and optional plugins in a Plugins directory. (ID: 06cfcec1-fcc4-42e3-b8d7-a9db9f292237) (409)
{
NSLocalizedDescription = "Validation failed";
NSLocalizedFailureReason = "This bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app bundle and optional plugins in a Plugins directory. (ID: 06cfcec1-fcc4-42e3-b8d7-a9db9f292237)";
NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Validation failed\" UserInfo={status=409, detail=This bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app bundle and optional plugins in a Plugins directory., id=06cfcec1-fcc4-42e3-b8d7-a9db9f292237, code=STATE_ERROR.VALIDATION_ERROR, title=Validation failed, NSLocalizedFailureReason=This bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app bundle and optional plugins in a Plugins directory., NSLocalizedDescription=Validation failed}";
"iris-code" = "STATE_ERROR.VALIDATION_ERROR";
}

This is the folder
2025-05-08_16h43_31.png


And this is what is inside the ipa file:
2025-05-08_16h35_04.png


Why the generated ipa is not correct?
 

f0raster0

Well-Known Member
Licensed User
Longtime User
Hello,
I am trying to update an IOS app that has been a long time since last update; and the app has been automatically retired from the store.

I renewed the certificates.
Then to upload the app, I built it using the build release (1), then download last build (2) and upload the app to appstore connect (3):

View attachment 163948

But the upload does not work, the error i get is this:


This is the folder
View attachment 163950

And this is what is inside the ipa file:
View attachment 163949

Why the generated ipa is not correct?
you should see something like:
Archive.zip
upload that file

are you sure you created the file using the a distribution cert?
 
Upvote 0
Top