If you for­get to exclude the ./build direc­tory from svn you’ll run into trou­bles (sooner or later).

Xcode error:

1
2
3
4
5
Error: 155005 (Work­ing copy not locked; this is prob­a­bly a bug, please
report) Descrip­tion: Com­mit failed (details fol­low):
Error: 155005 (Work­ing copy not locked; this is prob­a­bly a bug, please
report) Descrip­tion: Direc­tory ‘/Users/xxx/Projects/YOURNAME/build/
Debug/…/.svn’ con­tain­ing work­ing copy admin area is missing

While the svn com­mand report this:

1
svn: Direc­tory ‘build/Debug-iphonesimulator/YOURNAME.app.dSYM/.svn’ con­tain­ing work­ing copy admin area is missing

Fix the error:

  • close Xcode
  • delete the build directory
  • remove the build direc­tory from svn and com­mit it:
1
2
bash-3.2$ svn rm build
D build
1
 
1
2
bash-3.2$ svn ci –m “argh“
Delet­ing build

Hint: edit the svn default file (vi ~/.subversion/config) and add the build dir to the global excludes…