Clone repo from github to xcode issues
SmileyCreations identified the problem (the repo doesn't have an Xcode project), so here's how to solve it:
1) Create a new "macOS" project and set it to be a command line tool: 2) Choose the C++ language. 3) Drag in the .cpp and .h files from the repo:
This is because the folder is not an Xcode project. Xcode project files are folders(bundles) and Xcode will think that the folder is a project and fail to open it. And the repository doesn't contain any .xcodeproj
files.
As you asked how you can do it here is how you can do it.
Run git commit
and git push
when you do the following things:
1. Change machines
2. Edit the project
3. Add, edit or delete files.
Run git pull
when you do the following things:
1. When you start to work on a another machine.