objective c - Can separate .pbxuser and .mode1v3 files cause xCode to lose track of resources? -


we working on two-person ios project using svn sync our code. discovered problem when compiling on 1 machine not on other. discrepancy occurred when checking out latest revision fresh directory; on co-workers machine code run fine, , on mine fail.

we running xcode version 3.2.5 on identical machines. difference can think of have .pbxuser , .mode1v3 each of our usernames, , both sets of these in svn repository.

we tracked problem down line of code,

return [[nsbundle mainbundle] pathforresource:[nsstring stringwithformat: @"animation-human-%d", anitype] oftype:@"dimp"]; 

which failing , returning nil on machine. however, rogue file present in svn, in xcode's groups , files viewer, , after removing xcode reference , adding existing file, problem solved.

it's frustrating solve problem without understanding caused it. understanding digging around .pbxuser , .mode1v3 files per-user preferences. can problem in file causing xcode lose animation file? should take these files out of svn, or use single file renamed , shared between users?

any explanation appreciated. in advance.

i don't think it's files.

my best guess @ point, 1 of accidentally removed file target, meaning wouldn't have been installed when running app. during development, files in bundle stick around, wouldn't have caused immediate problems.

then, later, deleted app device / simulator. fresh install wouldn't have installed file, hence crash, though file in project , though works co-worker.

removing file project , re-adding have re-added target well, solving problem. can check if happened checking out older version before fixed things, right-clicking on file, selecting get info, , seeing if target ticked.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -