微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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测试版上传您的版本.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐