title: Why is xcode 4.3 failing to Archive my app?
body: <p>Xcode is failing to Archive my app for distribution, with the following error message:</p>
  
  <pre><code>SetOwnerAndGroup "myusername:staff" /Users/myusername/Library/Developer/Xcode/DerivedData/AppName-fqcgjdalayjdsffpmgzhzjmgadmn/Build/Intermediates/ArchiveIntermediates/AppName/InstallationBuildProductsLocation/Applications/armv7
      cd /Volumes/MEDIA/Dropbox/Code/ios/AppName
      setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
      /usr/sbin/chown -RH "myusername:staff" /Users/myusername/Library/Developer/Xcode/DerivedData/AppName-fqcgjdalayjdsffpmgzhzjmgadmn/Build/Intermediates/ArchiveIntermediates/AppName/InstallationBuildProductsLocation/Applications/armv7
  
  chown: /Users/myusername/Library/Developer/Xcode/DerivedData/AppName-fqcgjdalayjdsffpmgzhzjmgadmn/Build/Intermediates/ArchiveIntermediates/AppName/InstallationBuildProductsLocation/Applications/armv7: No such file or directory
  Command /usr/sbin/chown failed with exit code 1 
  </code></pre>
  
  <p>System:</p>
  
  <ul>
  <li>OSX Lion (10.7.3)</li>
  <li>XCode (4.3)</li>
  <li>Target: iOS 4.0 and iOS 5.0</li>
  </ul>
  
  <p><b>Update</b></p>
  
  <p>I've got a work around for now, I changed my architecture from:</p>
  
  <pre><code>armv7 armv6
  </code></pre>
  
  <p>to </p>
  
  <pre><code>$(ARCHS_STANDARD_32_BIT) armv6
  </code></pre>