XCode“上传期间发生错误,rsync:失败” [英] XCode "An error occurred during upload, rsync: failed"

查看:138
本文介绍了XCode“上传期间发生错误,rsync:失败”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近制作的档案文件变成了此错误

The last archives I've made turn out into this error

日志显示此信息(应用此日志中省略了名称和路线)

Logs show this information (app name and route omitted on this log)

    2016-06-28 08:53:48 +0000 [MT] Upload failed for archive App with issues:
(
    "<IDEDistributionIssue: severity(error), error(Error Domain=ITunesSoftwareServiceErrorDomain Code=-19066 \"The path '/route/App.ipa' does not contain a file.\" UserInfo={NSLocalizedDescription=The path '/route/App.ipa' does not contain a file., NSLocalizedFailureReason=Unable to validate your application.})>"
)

根据日志,这是发生错误的地方。

This is where the error occurs according to the log. It happens at a random framework each time

rsync: recv_generator: mkdir "/var/folders/ls/hdnz28rx7bb4929q6z4m37gc0000gn/T/XcodeDistPipeline.nwz/GaugeKit.framework/GaugeKit.bundle" failed: Result too large (34)
*** Skipping everything below this failed directory ***
2016-06-28 09:06:14 +0000  GaugeKit.framework/_CodeSignature/
2016-06-28 09:06:14 +0000  
sent 286 bytes  received 38 bytes  648.00 bytes/sec
total size is 388.45K  speedup is 1227.70
2016-06-28 09:06:14 +0000  rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(992) [sender=2.6.9]
2016-06-28 09:06:14 +0000  /usr/bin/rsync exited with 23

在我尝试上传到App Store时会发生这种情况,如果我为Ad Hoc存档,则不会发生,并且在处理符号时总是会发生豆荚(但不在同一豆荚上,每次只是一个随机豆荚)。我使用的是Cocoapods 1.0.1和框架( use_frameworks!),并且仅当我使用应用程序符号进行归档时才使用。由于某些Pod不支持位代码,因此已停用。

It happens when I try to upload to App Store, if I archive for Ad Hoc it doesn't happen and it always happens when it's processing symbols for pods (but not on same pod, just a random pod each time). I'm using Cocoapods 1.0.1 and frameworks (use_frameworks!) and only if I archive with app symbols. Bitcode is deactivated as some pods don't support it.

有任何有关此错误的提示吗?

Any hints about this error? It keeps happening on two different apps with different pods.

编辑:只是为了澄清,此错误发生在为AppStore提交生成ipa文件时发生。这两个应用程序现已发布。在为生成的框架(pod)处理符号(在代码签名之前执行步骤)时,会随机发生此错误,并且在同一库中不会发生相同的错误,这只是随机的,并且在尝试保持可以上传到AppStore的同时,我想知道如何防止因该错误而导致头部晃动。

just to clarify, this error happens while generating the ipa file, for AppStore submission. Both Apps are now published. This error happens randomly while processing symbols (step before code signing) for frameworks (pods) generated and it doesn't happen the same on the same library, it's just random, and while keeping trying I can manage to upload to the AppStore, but I'd like to know how to prevent the head banging with this error.

推荐答案

我偶尔会收到此错误。

I was getting this error sporadically. When you uncheck the "Include symbols" checkbox it does fix it.

但是如果您像我一样希望将符号发送给Apple,我会发现另一个奇怪的地方。修复:将存档提交给Apple时,从Mac上拔下电话。

But if you're like me and want the symbols to be sent to Apple, I found another strange fix: Unplug your phone from the Mac when submitting the archive to Apple.

奇怪。

这篇关于XCode“上传期间发生错误,rsync:失败”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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