Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

koopa35

macrumors 6502
Original poster
Aug 7, 2008
433
0
Los Angeles, CA
im new to the iphone sdk. as a matter of fact im new to developing i have no training at all and im reading learn c on mac. now me and my cousin are both reading this book and want to make iphone/ipad in our spare time. my question is, is there a way to share an xcode project? when we get past learning parts which is kinda hard with no schooling. we will not always be in the same place when its time to make apps. so is there away to share?
 
Sure, once you create a project it appears in a directory. Just archive the directory and send it to each other. To open it, unarchive the directory and open the .xcodeproject file.
 
Is the directory the recent projects list? If so how do I archive it sorry.

And scm how does one set it up. Again we will work on projects when we get to that stage. He will be at least 5 miles away. Again fellas sorry for the questions. I'm just trying to learn c and objective c on my own.
 
Koopa35, I think you are seeing this as being far more complicated than you think. drf1229 is simply suggesting you zip the project folder, where all of your resources and class files live, and email it to your cousin. They can then unzip it, open it in Xcode and get on with it.
 
Koopa35, I think you are seeing this as being far more complicated than you think. drf1229 is simply suggesting you zip the project folder, where all of your resources and class files live, and email it to your cousin. They can then unzip it, open it in Xcode and get on with it.

Of course this method assumes you are going to take turns working on the source code and never work on it at the same time. Not to mention, you can't work on it until you've received updates.
 
Else download Dropbox from Dropbox Download - Will Start Automatically and make a shared folder.

Let's assume you are called John and your cuisine Freddy.

Make a folder called "Johns projects", "Freddys projects" and "Projects". Save target destination to the "Johns projects", so everytime you save your project, it auto updates for you and him.

P.S. The folders are just examples for being sure you ain't are working on the same time, the John and Freddy.

P.P.S You can also upload and download your files from Dropbox if you're not on your own Mac/Computer

Hope this helps :)
 
Is the directory the recent projects list? If so how do I archive it sorry.

The directory is the folder that contains your .xcodeproject file. To archive it, right click on it and click "Compress".
 
You might want to try using a public source code repository, or just put a CVS/SCM repository in a shared public folder somewhere (iDisk or something).
 
Thank You All For The Help

thanx for the responses i have got a little additional help from a few in this thread. the only problem with email is that we wouldnt be able to work on the project at the same time and thats what we want to do. since hes about 10 miles away and not on same network emailing back and forth would be a pain. its not really important right now because we have just started. but i like to get this part out the way so when that time comes well know how to manage and work on it at the same time
 
Source Control software will be your friend.

Or be very careful to not work on the same class at a time; a friend and I managed to complete a project a few years back just dividing up the classes we needed to make, and sending the newest version every night. Could've been more efficient about it, but it worked.
 
Source Control software will be your friend.

Or be very careful to not work on the same class at a time; a friend and I managed to complete a project a few years back just dividing up the classes we needed to make, and sending the newest version every night. Could've been more efficient about it, but it worked.

my final question on the matter since i dont want to keep bugging you guys about it. when the scm is setup is it like a central server that we grab the project from? and will there be some sort of url or something for him to access the projects we would start on my mac?
 
there's a lot of different options out there. Some provide just a local source control package that lets you backup your code & track revisions on your own machine. Others are bigger and include more complex features, such as a web interface, version merging, branching, etc.

Start by looking into Subversion - that's a rather powerful, and fairly popular option. Merely Googling around for that will probably net you a few other software options as well.

Some packages will even integrate with your IDE (I think XCode supports it almost natively, I could be mistaken though), so you won't even have to fire up the software/website after initial setup.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.