• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X-Code and Subversion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X-Code and Subversion


  • Subject: Re: X-Code and Subversion
  • From: Jack Repenning <email@hidden>
  • Date: Fri, 12 Jun 2009 10:15:52 -0700

On Jun 12, 2009, at 12:31 AM, Clark Williams wrote:

Does anyone know of a good tutorial for creating a SVN project under X-Code?


I don't think you can do this entirely from within Xcode (yet). Here, at any rate, is how I do it:

1. In Xcode, create the new Project somewhere (ideally, somewhere *other* than where you actually want it eventually to be). For instance, most of my projects, most of the time, are in ~/src/ ProjectName, but at this point I have Xcode create ~/foo/ProjectName. For simplicity's sake, don't do any work in the project, yet, just let Xcode create the basic structure.

2. In Terminal, cd into the folder directly above your new ProjectName directory:
% cd ~/foo


3. Using the command-line Subversion tool, import this into your repository (which I'm assuming already exists):
% svn import ProjectName http://host.domain/path/to/repo/reponame/trunk/
(You can remove foo/ProjectName now)


4. Now, back in Xcode, go to "SCM: Repositories", configure your repository if it's not there already, and browse until you see that newly created folder ProjectName.

5. Select it.

6. Click "Checkout", and follow the directions.

7. Eventually, it'll offer to open the new project file; do so.

8. I like to right-click on the "Detail" column labels, and make sure the "SCM" column is displaye.


-==- Jack Repenning email@hidden Project Owner SCPlugin http://scplugin.tigris.org "Subversion for the rest of OS X"


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Xcode and Subversion
      • From: Andrew Pontious <email@hidden>
    • Re: X-Code and Subversion
      • From: David Blanton <email@hidden>
References: 
 >X-Code and Subversion (From: Clark Williams <email@hidden>)

  • Prev by Date: ConvertMake
  • Next by Date: Re: Delayed Framework Loading
  • Previous by thread: X-Code and Subversion
  • Next by thread: Re: X-Code and Subversion
  • Index(es):
    • Date
    • Thread