Pawan Joshi
Pawan Joshi

Reputation: 1579

Xcode 7 - SVN commit failed error - what do do?

I am getting the following error from xcode/source control/Commit

enter image description here

I don't even see the file in my xcode project. is not there.

When I tried to add the unversioned file via terminal, the response was like the following

PJs-MacBook-Pro:~ pj$ cd /Users/pj/Desktop/Projects/PGA/WorkingCopies/trunk/CustomerApp/PGAC/
PJs-MacBook-Pro:PGAC pj$ svn add ViewController.h
svn: warning: W155010: '/Users/pj/Desktop/Projects/PGA/WorkingCopies/trunk/CustomerApp/PGAC/ViewController.h' not found
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation

I can't see the file "ViewController.h" in my project directory. How can I add it ?

Upvotes: 4

Views: 2026

Answers (4)

Pawan Joshi
Pawan Joshi

Reputation: 1579

Another workaround would be to use "SVNX" Download Link

it has all the feature and its vary easy to use.

you can get help setting it up with videos on youtube check out this link

Upvotes: 1

kain64b
kain64b

Reputation: 2326

Hi need to add root folders to svn:

PJs-MacBook-Pro:~ pj$ cd /Users/pj/Desktop/Projects/PGA/WorkingCopies/trunk/CustomerApp/
PJs-MacBook-Pro:PGAC pj$ svn add PGAC
PJs-MacBook-Pro:PGAC pj$ cd PGAC
PJs-MacBook-Pro:PGAC pj$ svn add ViewController.h

Upvotes: 0

JAHelia
JAHelia

Reputation: 7922

the solution that worked for me is to use Terminal to commit image files. First cd to image.xcassets directory, then type svn commit -m "any commit message"

Upvotes: 0

Pawan Joshi
Pawan Joshi

Reputation: 1579

Well..

i don't know what was wrong.

but when i tried importing again and then checking out the repo. it started working

Upvotes: 2

Related Questions