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


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:

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.

8 Responses to “Xcode, Subversion Error: 155007 (Path is not a working copy directory)”

  1. Nick Says:

    Hi,
    To place the project under Xcode, you need to first import it. The SCM->commit entire project… gives error 155007 if you don’t first do this:

    Under the SCM menu in Xcode select Repositories, then click the IMPORT icon at the top of that dialog that appears. Select the project from the list and then click the import button.

    Hope that helps.

    Of course you need to first configure at least one repository before doing the steps above.

  2. jeboyer Says:

    This worked. Thank you!

  3. Shahram Javey Says:

    1) Create the project in XCODE.

    2) Setup subversion in XCODE and select the subversion repository for this project.

    3) Use Xcode SCM > Repository and click on the IMPORT icon. This will move the local copy to the subversion repository.

    5) Now delete your local copy (or move it to another location just in case).

    6) Finally CHECKOUT the project from subversion (this will create the subversion .svn folders, …).

  4. Richard Monson-Haefel Says:

    Shahram Javey’s 6 step process worked for me except I had to add two more steps.

    7) Reselect the subversion repository for this project.

    8) Commit the entire project.

  5. PicklePumpers Says:

    Thanks for the info, especially Shaharam, that was exactly what I needed.

  6. Gav Says:

    I thought this was the answer…. allowed me to import, checkout, but then still the same error when trying to commit :(

  7. sefkan3 Says:

    http://developer.apple.com/library/mac/#featuredarticles/SubversionXcode3/

  8. Xcode, Subversion Error: 155007 (Path is not a working copy directory) (via n o t e 1 9 . c o m) « Macgix's Weblog Says:

    [...] 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 … Read More [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: