Sharing xcode projects

I have searched for this but I have not found the exact answer that I am looking for. I am trying to email a friend / co-worker a saved xcode project that I am working on. If I send the attached file saved in the email, when he opens it, everything is reddish and there is no code or whatever. How can I submit the entire project so that he can access it? Thank.

+3


source to share


1 answer


It looks like you are only sending the Xcode project file to it, but you will need all the source files.

If you assume your project is located in:

/Users/me/Projects/MyDeadGoodProject/
    MyDeadGoodProject                     (folder with source)
    MyDeadGoodProject.xcodeproj           (project bundle)

      

(which is pretty standard)

Then you need to submit the entire top level project directory structure.



This is best done by pinning the entire batch, which can be done from the Finder by right clicking and selecting "Compress MyDeadGoodProject" or from the command line (Terminal.app) with zip

:

$ cd ~/Projects
$ zip -r9 MyDeadGoodProject.zip MyDeadGoodProject

      

And then write a .zip file to it.

If you are collaborating with someone else on a regular basis then your best bet is to do a git central hosting since it will be much easier to manage.

+4


source







All Articles