Use console() instead of cout.
Ignore Xcode user state file.
Ignore build files.
Better Xcode gitignore settings from the web.