title: Xcode 4 & three20 & create IPA archive: No such file or directory
body: <p>In Xcode 3.2.5 I use "Build And Archive" to create an IPA file without any problems.
  How can I do that in Xcode 4? I think I have to use "Product -> Archive", but I get over 100 error messages in the three20 framework. Most are "No such file or directory". ("Product -> Build For -> Build For Archiving" works. No errors.)</p>
  
  <p>For example, this is the first error message:</p>
  
  <pre><code>../scripts/Protect.command: line 23: cd: /Users/[USERNAME]/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-blabla/ArchiveIntermediates/[PROJECTNAME]/BuildProductsPath/Release-iphoneos/../three20/Three20Core: No such file or directory
  </code></pre>
  
  <p>The path <code>"/[PROJECTNAME]/BuildProductsPath/three20/"</code> really doesn't exists, but this path exists: <code>"/[PROJECTNAME]/three20/"</code></p>
  
  <p>What can I do?</p>