title: XCode "An error occurred during upload, rsync: failed"
body: <p>The last archives I've made turn out into this error 
  <a href="https://i.stack.imgur.com/sdMo9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sdMo9.png" alt="this error"></a></p>
  
  <p>Logs show this information (app name and route omitted on this log)</p>
  
  <pre><code>    2016-06-28 08:53:48 +0000 [MT] Upload failed for archive App with issues:
  (
      "&lt;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.})&gt;"
  )
  </code></pre>
  
  <p>This is where the error occurs according to the log. It happens at a random framework each time</p>
  
  <pre><code>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
  </code></pre>
  
  <p>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 (<code>use_frameworks!</code>) and only if I archive with app symbols. Bitcode is deactivated as some pods don't support it.</p>
  
  <p>Any hints about this error? It keeps happening on two different apps with different pods.</p>
  
  <p>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.</p>