Hi I am using xcode 4.1 and I dont exactly know if the svn is working with ssh tunnel in xcode. I have read the apple provided guide but it only shows how it creates the repository locally. I am not expert of SVN but I need some help.
I have been using Eclipse for Java and my subversion repository on remote place and I could access repository through ssh tunnel in the eclipse. I don't find anyway how it could be done in Xcode 4.1.
Can I use the same repository which I have been using for my java projects from remote machine? by creating new directory of my iphone projects...???
DO I need to install Xcode on the remote place as well for svn? or I need to install only subversion svn ? which one?
Window -> Organizer -> Repositories. Add whatever you want, wherever it is hosted.
I have seen this, but does it answer my question? I can access the same repository which I have for other projects on a remote location using ssh+svn tunnel???
If you know the right answer then please answer... because I have gone through all window-->Organizer-->Repositories. but I did not find it, it is doing everything for local repositories or http repositories...
Sorry if it is irritating, I am nor master in svn. Right now I started newly development in Iphone. I know how to access the remote repository from the remote place using ssh client as I have been using in eclipse for java.
right now I need the similar mechanism on my machine but I need the repository to be present on the server side... the point is that before in java.. server side thing was done by someone already. but now I need to do it myself and I dont know whether I need to install svn or not? and if yes then which client? whether I can use the same repository which was used for java?
Well, you're going to have to do whatever the other person did if you are doing it for yourself. What is the point of worrying about the connection if you don't even have anything to connect to yet? Figure out where you are hosting, then worry about the connection.
If you don't know how to set it up for yourself, then look into a service that provides hosting. I personally use Beanstalk.
Well, you're going to have to do whatever the other person did if you are doing it for yourself. What is the point of worrying about the connection if you don't even have anything to connect to yet? Figure out where you are hosting, then worry about the connection.
If you don't know how to set it up for yourself, then look into a service that provides hosting. I personally use Beanstalk.
Sorry if it is irritating, I am nor master in svn. Right now I started newly development in Iphone. I know how to access the remote repository from the remote place using ssh client as I have been using in eclipse for java.
right now I need the similar mechanism on my machine but I need the repository to be present on the server side... the point is that before in java.. server side thing was done by someone already. but now I need to do it myself and I dont know whether I need to install svn or not? and if yes then which client? whether I can use the same repository which was used for java?
thanks
It's been a long time since I first set this up. If I remember correctly, the SVN client gets installed when you install Xcode. You do need to install SVN on the server, but only once. If it already has SVN installed on it, you don't have to do anything.
Try this:
Open terminal on your local machine. Type "svn help". If you get a help screen, svn is installed. Then ssh to the account on your remote server that you will be using. Once you're logged in to the remote server, type "svn help" again. If you get a screen-full of SVN help from the remote server, IT has SVN installed.
You need to enter the repository into your Xcode organizer under repositories. When you click the "+" button to create a new repository, it asks you for a name and a location. Under location, you would enter:
If you don't have a repository on the remote server, you will have to use the SVN command line on the remote server to set it up. I have an abiding hatred of the subversion manual, and only wade through it when I have to, or somebody is paying me to do so. I'm going to leave that lovely bit of research to you.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
It's been a long time since I first set this up. If I remember correctly, the SVN client gets installed when you install Xcode. You do need to install SVN on the server, but only once. If it already has SVN installed on it, you don't have to do anything.
Try this:
Open terminal on your local machine. Type "svn help". If you get a help screen, svn is installed. Then ssh to the account on your remote server that you will be using. Once you're logged in to the remote server, type "svn help" again. If you get a screen-full of SVN help from the remote server, IT has SVN installed.
You need to enter the repository into your Xcode organizer under repositories. When you click the "+" button to create a new repository, it asks you for a name and a location. Under location, you would enter:
If you don't have a repository on the remote server, you will have to use the SVN command line on the remote server to set it up. I have an abiding hatred of the subversion manual, and only wade through it when I have to, or somebody is paying me to do so. I'm going to leave that lovely bit of research to you.
Hi Duncan, Thanks for the answer, this is exactly what I was looking for, I have read your posts on different questions I don't know why You always come up with the right answer thanks millions let the knowledge prosper
It's been a long time since I first set this up. If I remember correctly, the SVN client gets installed when you install Xcode. You do need to install SVN on the server, but only once. If it already has SVN installed on it, you don't have to do anything.
Try this:
Open terminal on your local machine. Type "svn help". If you get a help screen, svn is installed. Then ssh to the account on your remote server that you will be using. Once you're logged in to the remote server, type "svn help" again. If you get a screen-full of SVN help from the remote server, IT has SVN installed.
You need to enter the repository into your Xcode organizer under repositories. When you click the "+" button to create a new repository, it asks you for a name and a location. Under location, you would enter:
If you don't have a repository on the remote server, you will have to use the SVN command line on the remote server to set it up. I have an abiding hatred of the subversion manual, and only wade through it when I have to, or somebody is paying me to do so. I'm going to leave that lovely bit of research to you.
HI Duncon Again,
I actually was able to set up a repository on the remote location and as well on the local computer but after adding the repository i dont get any data or anything... but i feel best way to do is that connect to a repository when xcode opens... i open xcode and instead of selecting the project, i select connect to repository and there i give my remote repository path... svn+ssh://remoteserver/repos/myrepos but the button Next is not enabled when i write the repository url... i dont know why is it not working if i want to connect using svn+ssh...??? it does not work?
I actually was able to set up a repository on the remote location and as well on the local computer but after adding the repository i dont get any data or anything... but i feel best way to do is that connect to a repository when xcode opens... i open xcode and instead of selecting the project, i select connect to repository and there i give my remote repository path... svn+ssh://remoteserver/repos/myrepos but the button Next is not enabled when i write the repository url... i dont know why is it not working if i want to connect using svn+ssh...??? it does not work?