Tired sending my friend an XCODE project , but files are missing? No idea why?
Any ideas
Make sure you're zipping the entire directory that contains the project. Just sending the .xcodeproj file and the source won't do it. You need the whole set of data.
Assuming you understand how to use the Terminal.app:
In the directory above your project:
tar cvzf <name_of_project>.tar.gz <directory_of_project>
This will create a .tar.gz
file for your project, which is compressed archive, similar to .zip
Your friend can then run tar xvzf <name_of_project>.tar.gz
to expand to a directory on their computer.
If you run man tar
from the command line, this will explain what all the command line arguments for tar do.
Right click (Ctrl-Click with a single button mouse) on the project's root folder and choose compress.
A zip file will be created with the compressed contents of the project folder.
Send this file to your friend.
There is nothing wrong with this question although some of the guys have sort of downvoted it. Most of us who come from Windows background + learning Objective C or Swift will have this issue.
( ref: latest Xcode 7, but should be the same in other versions too)
So, first LOCATE the project. say you have opened ViewController.swift on Xcode. If you look towards the right menu, there is this 'Identity and Type' section which has the 'Full Path' of you project.
eg: /Desktop/CLASS ASSIGNMENT/Registration App Ver 1.2 2 2 2/Registration App Ver 1.2/LoginVC.swift.
Now if you go to this location via the 'Finder' in your dock( 1 folder up), thats where your project is.
-- Second: Right click and select 'Compress your_folder_name' option which zips the project and keeps it in the same location.
You can now attach this in your email and share.