question

BruceKrueger-2659 avatar image
0 Votes"
BruceKrueger-2659 asked BruceKrueger-2659 answered

Publishing file to Apple App Store Failed "Unable to validate archive"

I successfully created the ipa file but receive a message Publishing Failed - Unable to validate archive.
There is no additional information and I am unable to determine what is the problem.

dotnet-xamarinformsdotnet-ios
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ BruceKrueger-2659 May I know whether your issue has been solved or not? If not, please share it in here. We can work together to figure it out.


0 Votes 0 ·
BruceKrueger-2659 avatar image
0 Votes"
BruceKrueger-2659 answered

I was not able to solve this problem using Visual Study to upload to Apple Connect.
However I was able to use Transporter to upload the same file sucessfully.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

WenyanZhang-MSFT avatar image
0 Votes"
WenyanZhang-MSFT answered

Hello,

Welcome to our Microsoft Q&A platform!

There are many reasons for this error——"Unable to validate archive", such as missing APP icon, incorrect profile, doesn't increase the Build Version in info.plist, you could follow the instructions given in these docs to upload your iOS app to App Store from VS 2019.
https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/?tabs=windows
https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/itunesconnect
https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/publishing-to-the-app-store?tabs=windows

If you have archived the ipa, you could also upload it to AppStore by Apple Transporter, you will get the detail error mesages.


Best Regards,
Wenyan Zhang


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.