title: Can separate .pbxuser and .mode1v3 files cause xCode to lose track of resources?
body: <p>We are working on a two-person iOS project using svn to sync our code.  Recently we discovered a problem when compiling on one machine but not on the other.  The discrepancy occurred even when checking out the latest revision to a fresh directory; on my co-workers machine the code would run fine, and on mine it would fail.</p>
  
  <p>We are running xCode Version 3.2.5 on identical machines.  The only difference I can think of is that we have .pbxuser and .mode1v3 with each of our usernames, and both sets of these were in the svn repository.</p>
  
  <p>We finally tracked the problem down to this line of code,</p>
  
  <pre><code>return [[NSBundle mainBundle] pathForResource:[NSString stringWithFormat: @"animation-human-%d", aniType] ofType:@"dimp"];
  </code></pre>
  
  <p>which was failing and returning nil on my machine.  However, the rogue file was present in svn, in xCode's groups and files viewer, and after removing it from xCode by reference and then adding it back as an existing file, the problem was solved.</p>
  
  <p>It's very frustrating to solve the problem like this without really understanding what caused it.  My understanding from digging around is that the .pbxuser and .mode1v3 files are just per-user preferences.  Can it be that a problem in this file was causing xCode to lose my animation file?  Should we take these files out of svn, or use a single file that is renamed and shared between users?</p>
  
  <p>Any explanation would be greatly appreciated.  Thanks in advance.</p>