title: Xcode plugin for Jenkins // Copy Pods Resources failed
body: <p>I'm trying to set up CI for my iOS project using Jenkins and Xcode plugin. This project uses <a href="http://cocoapods.org/" rel="nofollow">cocoapods</a>.</p>
  
  <p>When I try to build the project I see the following message in the console output. </p>
  
  <pre><code>The following build commands failed:
      PhaseScriptExecution "Copy Pods Resources" "/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/MyProjectName-aigdarcpcvxsuigtchghvivjocka/Build/Intermediates/MyProjectName.build/Ad Hoc-iphoneos/MyProjectName.build/Script-995B1F2BEF504DDDA6A68507.sh"
  </code></pre>
  
  <p>I've checked Jenkins user's permissions to write to these folders - they are OK.</p>
  
  <p>What could be a cause? Any thoughts are very welcome. Thanks.</p>