title: Interface Builder XIB Error - Unable to write to path
body: <p>I get sporadic, occasional one-time errors that often clear up on a second attempt
  at building, after cleaning or holding down the Option key and clicking Product -> Clean Build Folder.</p>
  
  <p>Is there anything I can do to avoid errors like this one which seem to be tied to a single .xcproj (XCode Project) that is my main xcode project. It never happens on a new or empty product, and always seems to fail on the same Nib file (<code>MainWindow-iPhone.nib</code>).</p>
  
  <p>full error message:</p>
  
  <pre><code>  /Users/user/XCodeWork/iPhoneDev/MyAppSourceFolder/en.lproj/MainWindow-iPhone.xib: 
    Compilation failed. Unable to write to path:        
    /Users/user/Library/Developer/Xcode/DerivedData/MYAPPNAME-
    dudnhxzgpqtcnqcgaguirvkhmvco/Build/Intermediates/ArchiveIntermediates/
    MYAPPNAME/InstallationBuildProductsLocation/Applications/MyAppname.app/
    en.lproj/MainWindow-iPhone.nib
  </code></pre>
  
  <p>I've had a look at folder permissions and I have full rights to the Intermediates folder
  paths shown above.  Just incase there is some <code>sudo</code> like crap happening inside XCode's build, I set the path to everyone having Read &amp; Write permission, but that does not fix it.</p>
  
  <p>The above error happens during regular debug build, as well it occurs during Archive operations, and often it prevents me from completing the archive step.</p>
  
  <p>I am using XCode 5.0.1 (5A2053) on OS X Mavericks 10.9 (13A603)</p>