ios – iTunes连接:无法完成此操作.再试一次. (-22421)

注意:
我正在使用obj-c代码处理 Swift项目.

上传到iTunes Connect时出现此错误

This action Could not be completed. Try again. (-22421)

好的,然后我找到了this

然后我在一封电子邮件中得到这个(这需要一段时间才能意识到错误信息是通过电子邮件发送的:-)以及在Xcode和iOS开发领域的另一天):

Dear developer,

We have discovered one or more issues with your recent delivery for
“my-app-name”. To process your delivery,the following issues must be
corrected:

Invalid Swift Support – The SwiftSupport folder is missing. Rebuild
your app using the current public (GM) version of Xcode and resubmit
it.

Once these issues have been corrected,you can then redeliver the
corrected binary.

Regards,

The App Store team

好的,然后我将“Embedded Content Contains Swift Code”设置为YES.

经过一天的摔跤之后,我就是?????

解决方法

对于以下消息:

Dear developer,

The App Store team

您需要使用Xcode Archive上传您的应用程序.

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

这是因为当您使用apploader上传应用程序时,它不包含Swift支持,但是当您使用存档上传时,它会将所有swift库复制到有效负载中.

并确保您不使用任何Xcode测试版上传您的版本.

相关文章

在有效期内的苹果开发者账号(类型为个人或者公司账号)。还...
Appuploader官网--IOS ipa上传发布工具,证书制作工具跨平台...
苹果在9月13号凌晨(北京时间)发布 iOS 16,该系统的设备可...
计算机图形学--OpenGL递归实现光线追踪
Xcode 14打出来的包在低版本系统运行时会崩溃,报错信息是Li...