本文介绍了iTunes connect:无法完成此操作.再试一次. (-22421)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

上传到iTunes Connect时出现此错误:

I am getting this error when uploading to iTunes Connect:

好吧,然后我找到了 this

然后我通过电子邮件收到此消息(花了一段时间才意识到错误消息是通过电子邮件发送的:-)在Xcode和iOS开发领域又过了一天):

And then I get this in an email(this took a while to realise that error message is send via email :-) well just another day in the land of Xcode and iOS development):

我们发现您最近的交货有一个或多个问题 我的应用名称".要处理您的交货,必须注意以下问题 已更正:

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:

无效的Swift支持-缺少SwiftSupport文件夹.重建 您的应用使用当前的Xcode的公共(GM)版本并重新提交 它.

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.

此致

App Store团队

The App Store team

好,然后将嵌入式内容包含Swift代码"设置为是".

Ok, then I set the "Embedded Content Contains Swift Code" to YES.

现在经过一天的搏斗,我是?????

Now after a day of wrestling with this, I am ?????

推荐答案

对于以下消息:

我们发现您最近的交货有一个或多个问题 我的应用名称".要处理您的交货,必须注意以下问题 已更正:

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:

无效的Swift支持-缺少SwiftSupport文件夹.重建 您的应用使用当前的Xcode的公共(GM)版本并重新提交 它.

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.

此致

App Store团队

The App Store team

您需要使用Xcode Archive上传应用.

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

这是因为当您使用apploader上载应用程序时,它不包含Swift Support,但是当您使用归档文件进行上传时,它将所有swift库都复制到有效负载中.

It's because when you upload app using apploader it doesn't contains Swift Support, but when you upload using archive it copy all the swift libraries into payload.

并确保您没有使用任何Xcode beta版本上载构建.

And make sure that you don't upload your build using any Xcode beta version.

这篇关于iTunes connect:无法完成此操作.再试一次. (-22421)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 03:32