Link an Existing Project to GitHub

GitHub is amazing; I am eternally grateful to be born in an age where there is free, accessible, distributed version control software (Git), that is moreover  centralized/backed up in The Ether. But there sometimes is a slight hitch: Github creates the online repository, but Xcode creates the new project. How can I create a new project in Xcode that is simultaneously tracked in its own Github repo?

How to Create a new Xcode project + GitHub repo [almost]  Simultaneously

My solution is the same as associating an existing project with an existing repo.  This is my workflow:

  1. Create the project locally.(If you don’t know, try Treehouse or CodeSchool)
  2. Create the repo on GitHub. (again, Treehouse, or CodeSchool)
  3. Copy the repo’s SSH from GitHub. GitHub BlogPost media-1
  4. Initialize the local git repo, and add the remote to the local repo.

    //git remote add origin

    //git pull origin master

    //git push -u

  5. Pull, Push.
Screen shot of my Terminal
A linked repo is born!

App Store: Quickie Privacy Policy


My second app submitted to the app store was rejected because I skipped a step that I had been diligent about with my first: the privacy policy. [UPDATE: Upon closer inspection, it was rejected because I did not explain how my app (a card trick with numbers) was appropriate for kids. They expressed additional concern over my lack of a privacy policy, but would never have noticed had I not already drawn the Eye of Sauron my way. I fixed that by recommending my app for only 13+ years.]

iTunesConnect rejection screenshot
As in life, rejection hurts, however justified.

So here is how I set up a privacy policy in under 30 minutes, which, with practice, can certainly be shortened to 10-15 min.

1. Generate a Privacy Policy

A quick Google search will find you a number of free privacy policy generators, which I prefer over templates. Make sure to add the keyword “app” to your search string, otherwise you may reach a website privacy policy generator instead. I used Generate your policy, and download.

2. Grab a Free Website

A free wordpress site will do just fine. I used Weebly, since my apps are not for marketing, but to build my portfolio.

Screen Shot 2016-01-21 at 8.45.57 PM

3. Add a “Privacy Policy” Page

…and stick your policy there. In this case, I didn’t even load the HTML, but included the file for anyone to download.

Screen Shot 2016-01-21 at 8.49.24 PM

4. Tell Apple

Cut and paste the URL into its berth on iTunes Connect. Relax by reading some tech blog posts.

Screen Shot 2016-01-21 at 8.52.14 PM