使用Swift将90 MB IPA文件上传到AppStore时出现通信错误 [英] Communication Error when uploading 90 MB IPA file with Swift to 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 发生异常:通信错误.请使用诊断模式检查连接.
Communication error. Please use diagnostic mode to check connectivity. Error while processing package: XXXXXXXXX.itmsp An exception has occurred : Communication error. Please use diagnostic mode to check connectivity.
我已经尝试过:
-
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年中,这是我连续两个星期无法上传该应用程序,并且出现相同的错误.
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.)
项目文件.权利包含关联域"部分中未使用的数据:
<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屋!