If you forget to exclude the ./build directory from svn you’ll run into troubles (sooner or later).
Xcode error:
1 2 3 4 5 | Error: 155005 (Working copy not locked; this is probably a bug, please report) Description: Commit failed (details follow): Error: 155005 (Working copy not locked; this is probably a bug, please report) Description: Directory ‘/Users/xxx/Projects/YOURNAME/build/ Debug/…/.svn’ containing working copy admin area is missing |
While the svn command report this:
1 | svn: Directory ‘build/Debug-iphonesimulator/YOURNAME.app.dSYM/.svn’ containing working copy admin area is missing |
Fix the error:
- close Xcode
- delete the build directory
- remove the build directory from svn and commit it:
1 2 | bash-3.2$ svn rm build D build |
1 |
1 2 | bash-3.2$ svn ci –m “argh“ Deleting build |
Hint: edit the svn default file (vi ~/.subversion/config) and add the build dir to the global excludes…

One Comment
1 Jon Fleming wrote:
I found this to be useful:
$svn propset svn:ignore build .property ‘svn:ignore’ set on ‘.‘
$svn –m ‘set property to ignore build directory’ commit