SVN and XCode

Discussion in 'Mac Programming' started by Boesesreh, Aug 11, 2009.

  1. Boesesreh macrumors newbie

    Joined:
    Aug 5, 2009
    #1
    Hi guys!

    I'm having some trouble with the svn feature in xcode.
    Everytime i add a file to my project the project.pbxproj file changes and if i want all other svn users to have the same file in their project i have to commit this file. That just can't be the right way to do it coul'd somebody please tell me how to do this right?
     
  2. kpua macrumors 6502

    Joined:
    Jul 25, 2006
    #2
    That is the right way to do it. It'd be a pain to communicate to all the other clients of your repository that they have to manually add files each time you add them. Committing changes to the .pbxproj file is just fine. I think they even merge fine, at least in most cases, but I might be wrong.

    However, there are two files that I would personally make svn ignore: the .perspectivev3 and .pbxuser files. Those can change pretty much whenever you change the current file, the dimensions of your Xcode window, and so forth. These are changes you don't need in your repository, and they are changes that are useless to everyone else.
     
  3. LtRammstein macrumors 6502a

    LtRammstein

    Joined:
    Jun 20, 2006
    Location:
    Denver, CO
    #3
    I'm confused... What is the issue? Do you not want to use SVN to handle your repository stuff?
     
  4. Cinder6 macrumors 6502

    Cinder6

    Joined:
    Jul 9, 2009
  5. Boesesreh thread starter macrumors newbie

    Joined:
    Aug 5, 2009
    #5
    Sorry for the late answer i was a little busy.

    What my problem was / or is ist that i was used to cvs/svn (whateva) systems like in eclipse where you add a file to the reopsitory and erverybody else gets it. The problem i have with the system in xcode is that i like to create my own test/dummy/whateva classes whick should not be in the repository. When i commit the .pbxproj these files appear even if i've not added them. But since there is no package structure like in other ides i'll just have to live with it.

    thanks anyway
     

Share This Page