jasmine214--love

只有当你的内心总是充满快乐、美好的愿望和宁静时,你才能拥有强壮的体魄和明朗、快乐或者宁静的面容。
posts - 731, comments - 60, trackbacks - 0, articles - 0
Error: 155005 (Working copy not locked; this is probably a bug, please report) Description: Commit failed (details follow):

It looks to me like Xcode is trying to check in your build directory, but it's either not under version control, or the previously version-controlled build directory got blown away, along with its .svn directory.

The easiest way to deal with this is to not put your build directory under version control. Since you should be able to recreate it with a simple re-compile, it's unnecessary anyway.

I do it in the global-ignores section of my computer's Subversion configuration file. That file's located at ~/.subversion/config on your system. Open it up with a text editor and look for this section headed with "miscellany". Assuming that you've not already edited that file, that section will look like this:

### Section for configuring miscelleneous Subversion options.
[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store


You can either uncomment the "global-ignores" line (remove the "#" from the front) and add to it or (like I do) just create a new one just before the one that's there:

global-ignores = build *.mode1 *.pbxuser *~.nib .DS_Store *~


That makes Subversion ignore the build directory entirely, along with a couple of other files that don't need to be under version control. I'm not entirely sure of what will happen once you add this to the config file, though, so you may have to check out your project again. At that point, though, it should be ignoring your build folder.

Note that "mode1" is "mode-one", not the word "model". In other words, the last character is the number "1".

只有注册用户登录后才能发表评论。


网站导航: