예전것/IPHONE Programming

Xcode, Subversion Error: 155007 (Path is not a working copy directory)

hangover 2010. 5. 7. 00:20

xcode subversion 에서 commit 하려고 하면 자꾸 위의 에러가 뜨는데 아래와 같은 방법으로 해결한다. ( 결국 build 폴더를 같이 올려서 생기는문제)

I had my project in subversion and was trying to get it to work with Xcode, but kept running into error 155007 whenever I tried to commit my changes from Xcode. After trying many different ways to get to the bottom of this, here are the steps that worked:

  • Delete your local copy (cd myxcodeproject; rm -rf .)
  • Delete the “build” folder from the server
  • svn co https://svnserver/path/trunk/project .

Now you should see .svn folders in every directory of your local project (you don’t see them if you use the “Export” function of the SCM panel from Xcode). At this point, you should be able to edit and commit your changes directly from Xcode.