ITunes connects: this action cannot be performed. Try again. (-22421)

Note: I am working on a Swift project with obj-c code.

I get this error when downloading to iTunes Connect:

This action cannot be performed. Try again. (-22421)

Ok then i found this

And then I get it by email (it took some time to understand that the error message is being sent by email :-) well, just one more day in the country of development of Xcode and iOS):

Dear Developer,

We have encountered one or more problems with your recent delivery for "-App-name of mine." To process your delivery, the following should be fixed:

Invalid Swift support - missing SwiftSupport folder. rebuild your application using the current publicly available (GM) version of Xcode and resubmit it.

Once these problems are fixed, you can re-add the fixed binary.

Hello,

App Store Team

Ok, then I set the “Inline content contains Swift Code” value to YES.

Now, after a day of fighting this, I ...

+5
source share
2 answers

For the following message:

Dear Developer,

We have encountered one or more problems with your recent delivery for "-App-name of mine." To process your delivery, the following should be fixed:

Invalid Swift support - missing SwiftSupport folder. rebuild your application using the current publicly available (GM) version of Xcode and resubmit it.

Once these problems are fixed, you can re-add the fixed binary.

Hello,

App Store Team

You need to download your application using Xcode Archive .

 Navigate to Xcode > Window > Organizer > Select your latest app archive > upload to App Store. 

This is because when loading the application using apploader it does not contain Swift Support , but when loading using the archive it copies all the swift libraries to the payload.

And make sure you are not loading your assembly using the beta version of Xcode .

0
source

This is due to an Internet connection problem with Apple servers. Just wait and try again later or next time. This will work of course. It may also be the reason for your internet connection.

I came across this problem many times, and it was automatically resolved. There is nothing wrong with xcode . Try and try only the solution for this.

0
source

Source: https://habr.com/ru/post/1246095/


All Articles