Getting Unable to validate archive error when Publishing to App Store in Xamarin

Viewed 800

I'm working on Publishing an iOS App to the App Store for the first time. However I get the error: Unable to validate archive.

As follows: When I click " Archive for Publishing" , click " Sign and Distribute" button, select " App Store" =>" Upload" =>" Next"=>" AppStore Connect information"=>" Publish", it will export an ipa file, then i will get this " Unable to validate archive " error message

enter image description here

I have imported App Icon, Full Version. How to solve this problem. Thank you!

2 Answers

Unfortunately, the uploading from VS doesn't give us more proper message why the upload fails.

But just as Apple document mentions there are three ways for uploading:

  • Xcode
  • altool
  • Transporter app

The easiest way is to use Xcode. When you have build for Release and archived your application (in VS 2019 on your Windows machine), you can do this on your Mac in Xcode: Window > Organizer > Archives > Distribute App

And there is a similar thread, you can check it here:Xamarin: Unable to upload Archive to AppStore .

Sometimes when App specific password is got corrupted, or you copy paste with some spaces mistakenly, This can happen as the entered password is incorrect due to mistaken spaces included while copying.

So, at first try to copy just the App specific password (Without any spaces or new lines) and publish.

If still problem persists, then revoke the current one and generate new App Specific Password.

May this helps someone. Thanks..!

Related