title: Can't archive on Xcode: CocoaPods linking error
body: <p>On an iOS project, when I compile my project to run it, it works fine.<br>
  But if I archive it, it fails with the following error:  </p>
  
  <pre><code>ld: file not found: /Users/xxxxx/Work/xxxxx/codes/xxxxx/DerivedData/xxxxx/Build/Intermediates/ArchiveIntermediates/xxxxx/InstallationBuildProductsLocation/Applications/libPods.a
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>I'm using Xcode 4.6 and iOS 5.0.</p>