I am using XCode (Version 26.0.1 (17A400)) -> Archive -> Distribute App (or Validate App) to upload my iOS app into App Store Connect.
However I am always getting this error:
Uploading SPI errors: Validation failed (409) The app contains one or more corrupted binaries. Rebuild the app and resubmit.
NSUnderlyingError : Validation failed (-19241) The app contains one or more corrupted binaries. Rebuild the app and resubmit.
code : STATE_ERROR.VALIDATION_ERROR
I tried exporting the app as an IPA and uploading with Transporter, but I see the same error.
I couldn't find any other useful logs or error messages.
More info:
- I have created the app in App Store Connect and this is my first time uploading.
- The app can build and run on my physical phone and emulator without any problem.
Would be great to get some help! Thanks!