Reputation: 781
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
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.
EDIT: 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.
Upvotes: 2
Views: 5178
Reputation: 3089
I know this is old but I still have this issue in 2024 so this is as much a note to self. This issue seems to occure when a device is connected to XCode. You need to unplug your iphone and kill every simulator instance. And then try to distribute again and it should work.
Upvotes: 0
Reputation: 231
Replacing the
source="$(readlink "${source}")"
With
source="$(readlink -f "${source}")"
Did not resolve my issue. I was facing multiple other issues due to lack of permission in the Xcode 15.
If someone facing this kind of error on Xcode 15, Search ENABLE_USER_SCRIPT_SANDBOXING in build settings of Pods project. In my case setting it to NO resolved the issue.
Ref : https://developer.apple.com/forums/thread/731041?answerId=755722022#755722022
Upvotes: 0
Reputation: 11
I found that, for me at least, I was getting an rsync error because my laptop was out of storage space for files being generated.
Upvotes: 0
Reputation: 4924
I get this issue on XCode 8.3.1 if my device is connected. If I unplug my device and try again it uploads without any issues.
Upvotes: 2
Reputation: 911
I know it sounds simplistic, but try rebooting.
[Edit 2: Turns out this was coincidental, rebooting and deleting those files doesn't always work. I've found now that if I just retry it several times, it eventually works.]
[Edit: rebooting is painful. I've since found that deleting the /var/folders/?/ XCodeDistPipeline.* directories has worked as well.]
My log showed that rsync was complaining of a file being too large, and when I looked at /var/folders, I found Xcode was leaving old folders. After rebooting, many of them had been pruned, and I was able to submit without this error.
Upvotes: 0
Reputation: 6045
I was getting this error sporadically. When you uncheck the "Include symbols" checkbox it does fix it.
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.
Strange.
Upvotes: 7
Reputation: 1365
You should upload binary by Application Loader
. I got many problems with Xcode uploader ! I tried Application Loader
and it's fine.
Upvotes: 0