使用 Swift 将 90 MB IPA 文件上传到 AppStore 时出现通信错误 [英] Communication Error when uploading 90 MB IPA file with Swift to AppStore

查看:22
本文介绍了使用 Swift 将 90 MB IPA 文件上传到 AppStore 时出现通信错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 Objective C 项目中添加了外部 swift 框架.

IPA 文件大小增加到 90 Mb.

从那一刻起我无法通过 Xcode、AppLoader 或 Fastlane 将其上传到 App Store.

10 分钟或更长时间后,它会报告使用 Appstore 验证资产"步骤:

After 10 minutes or more it reports on "Verifying assets with the Appstore" step:

通讯错误.请使用诊断模式检查连通性.处理包时出错:XXXXXXXXX.itmsp发生异常:通信错误.请使用诊断模式检查连接.

我试过了:

  • 5 个网络(2 个蜂窝网络、wifi、没有代理的局域网),

  • 5 networks (2 cellular, wifi, lan without proxy),

2 台电脑,其他 Apple 电脑,

2 computers other Apple computers,

使用最新的 ITMSTransporter,

use the latest ITMSTransporter,

删除了位码并上传应用程序符号以将错误报告给瘦IPA 文件.

Removed bitcode and uploading app's symbols for bug reporting to thin IPA file.

Xcode 10.1 - 我的 Mac Pro 2015 上可用的最新版本.

Xcode 10.1 - the latest available on my Mac Pro 2015.

每天上传两周 - 没有成功.在支持我的应用程序的过去 4 年中,这是我第一次因为相同的错误无法上传它 2 周.

Two weeks of every day uploading - no success. For the last 4 years of supporting my app this is the first time when I can't upload it for 2 weeks with the same error.

请帮忙!

推荐答案

在搜索原因问题三周后修复.(上周与 Apple 支持团队合作.)

Fixed after three weeks of searching the cause problem. (The last week with Apple Support Team.)

项目文件 .entitlements 包含关联域"部分中未使用的数据:

<array>
    <string>applinks:XXXXXX.com</string>
</array>

删除它后,Apple 服务器收到了我的 IPA.

After removing it Apple servers received my IPA.

感谢上帝.

上传前删除 .entitlements 中所有不必要的设置.

Remove all unnecessary settings in .entitlements before uploading.

仔细检查 .plist 中的所有设置

Carefully check all setting in .plist

删除不必要的 Swift 代码和支持后IPA 变得只有 8 Mb 而不是 90.

这篇关于使用 Swift 将 90 MB IPA 文件上传到 AppStore 时出现通信错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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