Docs on XCode and using svn

Background
It has been a long time since I worked actively with any version control software. Long before cvs was available, we rolled our own, with a combination of check-out and check-in methods which could be overridden based on permissions given to different users.
I barely used cvs at one of my previous positions, and actually just left the archiving to the group that wanted me to write the code. I gave them new releases and they put them into cvs.
Now, svn seems to be the tool of choice, and I have been able to extract code from other people's svn repositories, but have no real experience in setting one up from scratch, or integrating it with an existing or new XCode project.
I have read the svn docs, a few months ago, while looking at various code examples, so I have a very rudimentary understanding of the commands, but would certainly NOT call myself proficient. I'm not sure I would even consider myself qualified to be a noob as far as actually using svn. However, after rolling my own and managing it for many years, I understand all the concepts.
I'm on OSX 10.5.8 using XCode 3.1.3. SnowLeopard is still a twinkle in my eye as far as upgrading, however I plan to look at upgrading to XCode 3.1.4 once I shift some disk space around so I have room for the upgrade.
Question
How do I step-by-step take a project, in this case, a complete working project in XCode, that I could call version 1.0, and put it under svn version control. There appear to be hooks in XCode for this already, but i do not know enough about either XCode or svn and how they interact.
My main interest is in being able to take my working project and try some new code or features, and still be able to grab the most recent prior working version, instead of just having the one current development version.
Pointers to the right documentation sections would be most helpful, but please don't just tell me to read all the docs, XCode, svn, cvs, etc. and figure out how the pieces fit together. I've already tried that and none of what I read stuck in my memory as far as how they work together.
If this is the wrong place to ask this question, please direct me to any better places.
-C

reststop wrote:
It looks like google can find Docs at Apple faster than I can...
Mega dittos and pass the OxyContin®. I still try the search engine at the iPhone and Mac library pages, but Google does all the heavy lifting.
I'm going with the newer docs!
Et made a really solid point in advising you not to choose your archiving and versioning tools based on what Xcode directly supports. I'm currently collaborating on an iPhone project with a friend on the East Coast who set us up with Beanstalk and Versions. Beanstalk is free, but the Versions client was about 50 USD. This is my first experience with SVN so I'm unable to compare it with other products, but I can tell you it meets all the needs of a 2-programmer project quite nicely. We're also getting the advantage of an offsite server backup in the bargain. So far I've seen nothing but good reviews of Beanstalk, and haven't yet seen any sign of our code or artwork in the store, so I feel fairly comfortable with this service.
Anyway returning to Et's point, I haven't even tried hooking the above up to Xcode. The Versions client lets you sync one or more folders to the archive on Beanstalk. So if you sync up your Xcode project folder, you're good to go. As always I'm putting this out there so others can teach me how to use SVN correctly, but that's what I'm doing now and quite happy with it.
\- Ray

Similar Messages

  • Using svn+ssh with SCM in XCode

    I'm trying to set up XCode (latest version) to use svn+ssh to access my repository, but authentication always fails.
    I checkout the repository from the remote server and can operate on it as expected from the command line. However, from XCode it wont authenticate. There doesn't appear to be any options related to how XCode uses svn, so I guessed it uses whatever setup is in the local working copy of the project.
    When you activate SCM it has found the correct server, path and user. But there is no indication of what protocol is being used.
    ie, it say server: myserver.com
    It doesn't say server: svn+ssh://myserver.com
    Any idea how to get it to work?

    svn info on the command line reports that it's svn+ssh, however XCode just wont connect.
    I can connect fine on the command line.

  • Domain Guideance and Clarification using SVN and an Export suggestion

    Hello Oracle SQL Data Modeler Support,
    Apologies if this has been documented somehwere and I have missed reading it, but have gone through the User Guide and cannot find the clarification I want regarding domains.
    1) WHAT IS BEST PRACTICE TO SAVE WHEN USING SVN
    From the forum I have picked up that the domains file is in the following directory:
    ~\datamodeler\datamodeler\types
    File name is 'defaultdomains.xml'
    When I come to save the file using SVN I get 'Choose versioned folder for storing system types'
    I assume this is where the domains file is stored.
    I require the Domains to be avialable centrally to all Designs I create, what should I do?
    a) Set the folder to ~\datamodeler\datamodeler\types
    b) Create a design called 'Domains' and store it in this folder
    c) Any thing you may suggest
    2) EXPORT OF DOMAIN FILE SUGGESTION
    This should be a quick win for you, can you please add an Export Domains function, seems this needs to do no more than make a copy of the defaultdomains.xml file and create it in a specified export directory.
    Will avoid having to go through the forum to pick up that the defaultdomains.xml file needs to be copied and transfered over for new SQL Data Modeler installations.

    Hello,
    I require the Domains to be avialable centrally to all Designs I create, what should I do?Default location is fine if SVN is not used and if all designs are used only on that computer.
    If versioning is used then it's better to have separate directory for domains and this directory shouldn't be part of any design's directory - i.e. for designs you can have directories c:\des_1, c:\des_2 ...c:\des_n - one directory per each design and that directory will contain design DMD file and design folder. For domains you can have directory c:\DM_Sys_types and you need to set this directory in "Tools>Preferences>Data Modeler>system types directory" - logical types, RDBMS sites and scripts also will be stored there.
    Philip

  • Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

  • I want to set-up a network with our current two laptops for a family of 4 w/unique 4 profiles. I'd like everyone to be agnostic about which computer to log into and use but still have private docs and apps (i.e.mail/facebook). How best can I do this?

    I want to set-up a network with our current two laptops for a family of 4 with unique 4 profiles.  I'd like everyone to be agnostic about which computer to log into and use but still have private docs and apps (i.e. mail/facebook).  How best can I do this?

    iCloud Photo Sharing FAQ - Apple Support
    http://www.fatcatsoftware.com/iplm/Help/accessing%20an%20iphoto%20library%20on%2 0another%20mac.html

  • Best practice when developing APEX apps and using a SVN repository

    Hi experts,
    I wanted to get your opinion on best practice regarding how to use SVN and APEX combined.
    The idea is basically how to structure and how to save APEX apps the best way in a repository.
    I am currently working with a custom SVN structure, not using the default TRUNC/TAGS one : every app has a folder , under every app folder i have PAge number folders, and for each page reports, regions and global objects separated.
    This helps me because its more readable then saving the whole page export, its good for small changes and i have a clear overview of every bit and piece.
    What is everybody else using or is there a best practice to follow here that i dont know?
    Kind regards,
    Alex

    @tomaugerdotcom
    Something like this might help: https://testflightapp.com/
    Concevably, you could roll your own internal service if that particular one doesn't suit you. (I don't have any knowledge about how they are doing it, but it shouldn't be hard to figure out since Apple's constraining rules would only allow a few possibilities.)
    USB app install and debugging isn't supported on iOS. You have to use wireless.
    Another option specifically for multi-touch dev/testing, is to use an Android device.

  • [svn:fx-trunk] 9225: Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization

    Revision: 9225
    Author:   [email protected]
    Date:     2009-08-11 11:36:09 -0700 (Tue, 11 Aug 2009)
    Log Message:
    Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization
    Fix: Change H/V layouts first-visible-element lookup logic to accommodate negative gaps.
    QE notes: None
    Doc notes: None
    Bugs: SDK-22497
    Reviewer: Hans
    Tests run: checkintests,
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22497
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as

    sorka;
    You can check the LabVIEW Support page.
    There is a troubleshooting section called LabVIEW Installation/Getting Started Resources. It also includes a LabVIEW 7.x Frequently Asked Questions that has a link that reads Issues Fixed in LabVIEW 7.1. However, not much information is provided there.
    Other places where you can post your findings is at the LAVA Forum (check the Bug list forum) and the Info-LabVIEW mailing list. These are not official places, but usually they li
    sten
    Enrique
    www.vartortech.com

  • Cheapest option for someone new to mac wanting to use xcode and try develop

    Hi
    Apologies if this is in wrong location but couldnt find a general section
    I havent used mac before, looking to find cheapest option to get in to the mac World and try my hand with xcode / develop the likes of an app for iphone for fun
    Had found a imac5 1 but when I researched further it would appear that I might not be able to use this for latest version of xcode and therefore wouldnt suit my need. Shame as I think I could have got it for €300
    Am I correct - in that its not suitable?
    Any suggestions on what else would be suitable or where I could start?
    I couldnt afford to spend €1,000 or more on a new mac whether it was desktop or laptop etc.
    I want to get something thats useable (not from the dark ages) but realise that I may have to go back at least a few years thus the reason I was looking at the imac5,1
    Thanks for your time. Any help advise etc would be appreciated.

    The latest XCode requires OSX Lion. That requires:
    Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of RAM
    Mac OS X 10.6.6 or later with the Mac App Store installed
    At least 4GB of additional disk space to accommodate the download, but more is obviously recommended
    Thus, assuming that whan you said imac5 you were referring to an iMac with an Power PC G5 processor you are right i that that is not compatible.
    There are some Mac with an Intel Core sSolo and just Intel Core Duo processor that will not work with the latest XCode.
    I would look for a Mac Mini 2007 or later since those meed the XCode requirements

  • Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

    Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

    I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
    Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
    If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
    As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
    good luck

  • I have created an iPhone app using xCode and am now ready to publish it. Do I have to sign up to the $99/yr program in order to get a certificate?

    I have created an iPhone app using xCode and am now ready to publish it. Do I have to sign up to the $99/yr program in order to get a certificate? I keep getting the error message: CodeSign Error: code signing is required...although the app tests fine on the simulator. Does this mean that I need to pay the $99 to create the app or do you only need to pay if you want it published on iTunes?
    Any advice will be gratefully received.

    App Store Resource Center - Apple Developer

  • I recently purchased an iMac and used migration assistant to get all files from my emac, but now I have three user accounts.  I only want one (perhaps two) accounts.  I want all my music, photos and word docs from old computer in one user name

    I recently purchased a mac and used a firewire to transfer my files onto my new imac with migration assistant.  Now I have 3 users.  I want one with all my main files (pictures, music, files from my old computer).
    I don't mind having an additional "family" account so my younger daughter can't mess us things, but I can't figure out how to get files from one to the next and then delete the one user name.
    Thanks,

    In order to delete other accounts you must be logged into an admin account. You cannot delete the account into which you are currently logged.
    When you started the new computer you were in the Setup Assistant. You created a new admin account before finishing the setup. You need to log into that account because it is an admin account. You can then delete the account you migrated from the old computer (and any other accounts you don't need or want.)
    Then create a temporary new user account with admin status - name it, Temp. Log out of the current account and log into the new account, Temp. Now delete the initial account you created in Setup Assistant. You now have one account, Temp. Now re-migrate your data from the old computer. When that is completed log into the migrated account, which should be an admin account, and delete the temporary account, Temp.

  • With adobe standard, is it possible to create a fillable document that can be saved and used repeatedly as a fillable doc

    with adobe standard, is it possible to create a fillable document that can be saved and used repeatedly as a fillable doc

    Hey Paul,
    Please let me know what version of Acrobat Standard are you using.
    Regards,
    Anubha

  • Tiny doc error? Configuring+and+Using+Coherence+Extend

    This page:
    http://coherence.oracle.com/display/COH35UG/Configuring+and+Using+Coherence+Extend
    mentions the string "dist-extend-direct" only once. Is that intended just as an example of something that would match against
    <cache-name>dist-*</cache-name>
    or was that an error? It seems like it should be mentioned explicitly in the XML config file examples on that page.
    -Andrew

    Hi Andrew,
    It is the former. It is intended as an example of a cache name that would match the "<cache-name>dist-*</cache-name>" cache mapping in the cluster cache config.
    Patrick

  • [svn:osmf:] 14428: DVR, CR feedback: adding comments, and using Math.min/ max.

    Revision: 14428
    Revision: 14428
    Author:   [email protected]
    Date:     2010-02-25 12:46:16 -0800 (Thu, 25 Feb 2010)
    Log Message:
    DVR, CR feedback: adding comments, and using Math.min/max.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetConnectionFactory.as

  • [solved]make error when using svn in PKGBUILD

    Hi, all
    I want to install the development package of R software using PKGBUILD. My PKGBUILD file is like this:
    pkgname=r
    _svnmod=r
    pkgver=0.0.0
    pkgrel=1
    pkgdesc="R is a language and environment for statistical computing and graphics"
    arch=('i686' 'x86_64')
    license=('GPL')
    url=('http://www.r-project.org/')
    depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'libtiff'
    'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs'
    'tk' 'libxt' 'libxmu' 'pango')
    #makedepends=('subversion' 'openjdk6' 'gcc-fortran')
    makedepends=('subversion' 'jre7-openjdk')
    options=('!makeflags')
    conflicts=('r')
    provides=('r')
    source=('r::svn+https://svn.r-project.org/R/trunk/')
    md5sums=('SKIP')
    pkgver() {
    cd "$SRCDEST/$_svnmod"
    svnversion
    build() {
    cd "$srcdir/$_svnmod"
    ./configure --prefix=/usr \
    --libdir=/usr/lib \
    --datarootdir=/usr/share \
    rsharedir=/usr/share/R/ \
    rincludedir=/usr/include/R/ \
    rdocdir=/usr/share/R/docs/ \
    --enable-memory-profiling \
    --with-readline \
    --with-x \
    --with-system-zlib \
    --with-system-bzlib \
    --with-system-pcre \
    --enable-R-shlib \
    --with-lapack \
    --with-blas \
    --without-recommended-packages \
    F77=gfortran \
    LIBnn=lib
    make
    package() {
    cd "$srcdir/$_svnmod"
    make -j1 DESTDIR=${pkgdir} install
    # Fixup R wrapper scripts.
    sed -i "s|${pkgdir} ||" ${pkgdir}/usr/bin/R
    rm ${pkgdir}/usr/lib/R/bin/R
    cd ${pkgdir}/usr/lib/R/bin
    ln -s ../../../bin/R
    But i encounter a make error like this:
    ERROR: not an svn checkout
    make: *** [svnonly] ERROR 1
    Did anyone give me some advices? Thanks a lot!
    PS. I was noticed that in wiki page "VCS PKGBUILD Guidelines", "The copy in $srcdir is made using svn export which does not create working copies. Any svn related command has to be used in the local repo in $SRCDEST." So when I change the cd line in build() and package() function into
    cd "$SRCDEST/$_svnmod"
    the error message vanished. But the local repo are changed when configure and make the project.
    Last edited by januslian (2013-05-06 08:50:09)

    Scimmia wrote:This will be fixed in pacman 4.1.1. For now, just copy the ".svn" dir yourself. cp -r "$SRCDEST/$_svnmod/.svn" "$srcdir/$_svnmod"
    Great, it works. Thanks.

Maybe you are looking for

  • Chrome using plugin

    Does the Quicktime plugin still support MIDI files within the browser? all I got when i tried to play the file was the QT logo with a question mark on top! thanks

  • Leave details

    Hi, Is there any standard report to fetch the leave details such as -absence type -absence date -approver -status. Giving employee no. as input. Regards, storm.

  • Startup disc full message

    I have an iMac G3 running OS10.3, and this last week I have been getting messages that my startup disc is full. I have taken everything off I can, emptied the cache and all trash. The best I can get is 25.2 MB free space, and that will only last for

  • Toast 8 Titanium HD video settings

    I am disappointing in the video encoding of Toast 8. (so far I have only tried encoding to regular DVD's, and they were beyond awful) I want to record my HD video projects to dual layer DVD, Toast allows me to do the menus and burning. I am happy wit

  • What am I missing exactly?

    Hello everyone, so I have coded this a couple of different ways and I am looking for the most efficient way of doing this (I'm new to PS so please bear with my incompetence -- I am going through PS training so one day I will be answering questions ra