This short article will guide you step‑by‑step through creating Xcode project with local and remote Git repository (GitHub or Assembla) using SSH public/private keys authentication on remote side.
First part is really simple:
File → New → Project…Now, proceed to remote
ssh-keygen -t rsa -f path/to/private/key
generate SSH keysconfig file in ~/.ssh/ directory: touch config
open configIdentityFile path to match path to generated private key and save the file: Host github.com HostName github.com User git IdentityFile "~/Path/To/Private/SSH/key"
.gitignore file: touch .gitignoreopen .gitignore.gitignore file from GitHub is here: https://github.com/github/gitignore/blob/master/Objective-C.gitignoreSource Control → Push…git push ‑u origin master