iTunes 连接:无法完成此操作.再试一次.(-22421) [英] iTunes connect: This action could not be completed. Try again. (-22421)

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

问题描述

注意:我正在使用 obj-c 代码开发一个 Swift 项目.

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

<块引用>

无法完成此操作.再试一次.(-22421)

好的,然后我找到了这个

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

<块引用>

亲爱的开发者:

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

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

一旦这些问题得到纠正,您就可以重新交付修正二进制.

问候,

App Store 团队

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

经过一天的挣扎之后,我是 ?????

解决方案

对于以下消息:

<块引用>

亲爱的开发者:

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

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

一旦这些问题得到纠正,您就可以重新交付修正二进制.

问候,

App Store 团队

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

导航到 Xcode >窗口 >组织者 >选择您最新的应用存档 >上传到 App Store.

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

并确保您没有使用任何 Xcode 测试版上传您的构建.

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

I am getting this error when uploading to iTunes Connect:

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

Ok, then I found this

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):

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

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

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

解决方案

For the below message:

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

You need to upload your app using Xcode Archive.

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

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.

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

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

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆