Xcode and svn notes

Skip to end of metadata
Go to start of metadata
These notes are for Xcode v3.2.

Setting up project

  • There are some files in the project directory that will be easier to ignore using the command line tool or a third party tool like Versions.
  • There are three things that should be excluded from source control, the build directory, and the *.mode1v3, *.pbxuser in the project directory.
  • It is possible to ignore the files right out of the gate, but I am lazy and just add everything at the beginning and then remove them.
  • Things for svn to ignore:
build directory Output for the compiled code, will change with every build.
username.pbxuser in prject.xcodeproj This is a file that is specific to username for project, shouldn't be checked in for a shared project.
username.mode1v3 in project.xcodeproj This is a file that is specific to username for project, shouldn't be checked in for a shared project.

Renaming a project

  • If you renaming a project, Xcode does not remove the .svn directory in the .xcodeproj.
  • As a result, svn gets confused, thinking the renamed project directory is under version control.
  • So use the command line to remove the .svn directory and then commit the removed directory and the new one.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.