This area does not yet contain any content.
« Postgresql - Finding unused indexes | Main | Resizing a Fedora 8 Vmware Fusion image »
Saturday
Aug082009

Using XCode with SVN - some Gotchas

I mainly do Java development using Eclipse with SVN but recently I've been playing around with a bit of iphone development using XCode.

I've included some below some Gotchas about using XCode with SVN in the hope that it might save someone else making the same mistakes as me...

  • The left hand navigator pane in xcode labelled files and groups does not show a filesystem view of the folder containing the project files.
  • XCode projects need files adding in manually - the project structures does not have to match file system directory structures at all.
  • You will probably want to exclude the build directory - XCode will not do this for you.
  • Be aware that's it's easy to accidentily create links to files in the projects rather than putting the files into the project folder itself. Make sure when you drop a file into the project that you are copying it into the actual project and not just linking to an external file.
  • Committing the files to version control. When you are committing you will probably also want to commit the project file itself, you may this file if you aren't looking for it but it should show up in the SCM section. This file contains the list of all the files that are actually in the project, so if you don't commit this then the files will all be under version control but when you checkout the project on a fresh machine the files won't be included in the project, probably leaving the project with breakages.
  • New files that are placed in the project will not be added to version control even if the parent folder is already under version control and the entire project was checked out from an SCM such as SVN originally.
  • When using XCode to check out from a repository - you probably then want to tell XCode that the project is from that repository.
  • There is no way to get a graphical project level diff within Xcode, such as the syncronization view in Eclipse which helps you to merge and rollback changes prior to doing a commit. File level diffs can be done and to get an idea what files in the project have changes you can right-click the groups and files header on the left hand navigation panel and select SCM, this put a letter next to files depending on their state.
  • You may want to exclude your user files inside foo.xcodeproj/blah.pbxuser as this has user specific settings

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (27)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Football is genuinely one of the greatest sports in America. It has a significant following.
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: sharefella.com
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: polygamyhq.com
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: additional reading
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: www.ivirua.com
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: his response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: Our Web Page
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: settees
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: famelinked.com
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: go to the website
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: zendesk.com
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: http://viahe.vn
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: http://stoloboi.ru
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Response: http://stoloboi.ru
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    Using XCode with SVN - some Gotchas - Posts - Gridfire - Matt Cooke
  • Response
    There must be critically analysis of all education activities once in a week so that we can identify problems and can find their viable solution in that particular field. These deep analyses will surely work in future and provide best results in return.

Reader Comments (19)

It is informative and interesting post shared on the site because in the X code how to used and how to work also that can be know that and able to understand in this types X code.

December 9, 2011 | Unregistered Commentergarden furniture

This then the files will all be under version control but when you checkout the project on a fresh machine the files won't be included in the project, probably leaving the project with breakages.

December 13, 2011 | Unregistered Commenterguinea pig hutches

When using XCode to check out from a repository - you probably then want to tell XCode that the project is from that repository.in the project, so if you don't commit this then the files will all be under version control but when you checkout the project on a fresh machine the files won't be included in the project, probably leaving the project with breakages.

December 16, 2011 | Unregistered CommenterSeo Tekster

So nice and how to work X code and all the information described on the full information so that can be know that regarding post. Basically it is informative post shared on the site.

Søgemaskineoptimering

December 21, 2011 | Unregistered CommenterSøgemaskineoptimering

Regarding the post we can be used X code in which the development and more fantastic and interesting post shared on the site that can be more enjoy it. Mostly people are very like it.SEO

December 21, 2011 | Unregistered CommenterSEO

Nice efforts for all of them so that can be able to understand X code and more fantastic post shared on the site that can be able to used and understand also.
Hulmursisolering

December 23, 2011 | Unregistered CommenterHulmursisolering

The grateful and more fantastic post shared on the site because due to site that ca be used how to used the x code that can be able to understand and properly know about it.
zenithinkzt-280

December 26, 2011 | Unregistered Commenterzenithink zt-280

Be under version control but when you checkout the project on a fresh machine the files won't be included in the project, probably leaving the project with breakages.

porno

December 27, 2011 | Unregistered Commenterporno

Often people are used in this technology and more interesting technology. due to post that can be able to understand how to used it in this x code so nice and more fantastic techniques used in this site.

computer repair auckland

December 30, 2011 | Unregistered Commentercomputer repair auckland

So nice and give the good services so that can be used and enjoy it in this software.Mostly are used in this technology and used it.


laptop repair

January 2, 2012 | Unregistered Commenterlaptop repair

Nice and more fantastic and interesting site so that can be know in which used and good technology shared on the site so that can be enjoy it.

Linkbuilding

January 7, 2012 | Unregistered CommenterLinkbuilding

It is very fantastic technology shared on the site so that can be know that. Mostly are very like it and used in this technology. Give the good services so that can be used in this technology.zenithink zt-280

January 12, 2012 | Unregistered Commenterzenithink zt-280

Define all the information in the post because how to used X code so that can be know that and able to understand regarding post. It is very nice and interesting post shared on the site.
Nokia Lumia 800

January 20, 2012 | Unregistered CommenterNokia Lumia 800

X coding is very useful because in the post has been published the x coding that can be able to understand and know that regarding post.
it outsourcing

January 23, 2012 | Unregistered Commenterit outsourcing

In the post define about the how to used X code and how to work so that can be know that and able to understand regarding post. It is very nice and more interesting technology shared on the site can be know that regarding post.


services de référencement

Regarding post that can be know that how to used X coding and how to developed in this coding so that can be know that about described in the post. Mostly are very like it and enjoyment and used in this post.


Trade doors

January 30, 2012 | Unregistered CommenterTrade doors

When usingCode to check out from a repository - you probably then want to tell XCode that the project is from that repository.in the project, so if you don't commit this then the files will all be under version control but when you checkout the project on a fresh machine the files won't be included in the project, probably leaving the project with breakages.

it outsourcing

February 18, 2012 | Unregistered Commenterit outsourcing

Very few people are aware about X code at present. So its such a nice that you have shared it here.
Miele S8 Ecoline

April 7, 2012 | Unregistered CommenterMiele S8 Ecoline

This is really good technology, all the developers are appropriate your blog because you also shear the uses of X code it extremely nice experience you shear with us.

April 28, 2012 | Unregistered CommenterDoors Harrogate

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>