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):
But the upload does not work, the error i get is this:
This is the folder
And this is what is inside the ipa file:
Why the generated ipa is not correct?
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):
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
And this is what is inside the ipa file:
Why the generated ipa is not correct?