title: Phonegap unable Archive by this error "Command / usr / sbin / chown failed with exit code 1"
body: <p>I use Xcode 4.5.1 and use the latest installation package PhoneGap "2.1.0"
  I installed the following:</p>
  
  <ol>
  <li>Create one new folder name PhoneGapApp.</li>
  <li>Copy two folders: "bin" and "CordovaLib" directory PhoneGapApp was made ​​available.</li>
  <li>Running Terminal:
  <ul>
  <li>Chmod-R 777 for all Folder "PhoneGapApp".</li>
  <li>Move the folder "bin" using the cd command.</li>
  <li>Run the "Create" in the bin directory to create a new application named: newappphonegap</li>
  </ul></li>
  <li>Open the New Project in Xcode -> select Device and conduct Archive.
  After running the application the following error message:</li>
  </ol>
  
  <blockquote>
    <p>SetOwnerAndGroup "NGUYEN:staff" /Users/NGUYEN/Library/Developer/Xcode/DerivedData/phonegap-bbxcrooiwxhhpkbtvbseflkcjksr/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a
        cd "/Volumes/MacBook Pro Data/phonegapapp/CordovaLib"
        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 "NGUYEN:staff" /Users/NGUYEN/Library/Developer/Xcode/DerivedData/phonegap-bbxcrooiwxhhpkbtvbseflkcjksr/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a</p>
    
    <p>chown: /Users/NGUYEN/Library/Developer/Xcode/DerivedData/phonegap-bbxcrooiwxhhpkbtvbseflkcjksr/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a: No such file or directory
    Command /usr/sbin/chown failed with exit code 1</p>
  </blockquote>
  
  <p>I Remove ARMv6 Project and Cordova, but still getting this error, I also tried to find this error on the internet and follow but almost no results.</p>
  
  <p>Who can help me.
  thank you!</p>