Forum Xamarin.iOS

"altool" exited with code 1.

Hi to all,
I'm trying to publish app on App Store. When I upload the IPA package with Visual Studio (Visual Studio 2019 on Windows Machine), I get this error

Publishing project 'xxxxxx' completed with errors.
App Store bundle validation failed for archive xxxxxx
"altool" exited with code 1.
We are unable to create an authentication session.

I also tried with a Mac Machine using the xcrun altool --upload-app through terminal window but I got this error message:

*** Error: code -22014 (Unable to validate your application. We are unable to create an authentication session.)

Can anyone help me to troubleshooting this behaviour?

I'm using Visual Studio 2019 (v. 16.6.1) on Windows 10 machine with Xamarin 16.6.000.1061. On Mac Machine XCode 11.4.1.

Thanks!

Answers

  • kznestrelakznestrela Member

    Hello, I'm having the same problem, did you find any solution?

  • gdiedoardogdiedoardo Member

    @kznestrela said:
    Hello, I'm having the same problem, did you find any solution?

    Hi, no.. at the moment I'm still investigating...

  • kznestrelakznestrela Member

    @gdiedoardo said:

    @kznestrela said:
    Hello, I'm having the same problem, did you find any solution?

    Hi, no.. at the moment I'm still investigating...

    Hello. I could publish my app to Apple Store =)
    What I was doing wrong? I was giving my Mac password instead of "app-specific password".
    Hope this could help you.
    Chrees my friend

  • rayxxirayxxi Member ✭✭

    I'm having the same error, but when I disable push notification I can upload it to Test Flight without problems, if I re-enable the push notification again I got the same error.

Sign In or Register to comment.