migueldeicaza / CovidGraphs

Covid Graphs app
MIT License
93 stars 11 forks source link

Add a Getting Started Guide #26

Closed saamerm closed 3 years ago

saamerm commented 3 years ago

It would be helpful for beginner Swift developers to know how to they can get started with this repo on their computer. Perhaps a README in a Getting Started directory that says something like this:

  1. Fork the repo and open CovidGraphs.xcodeproj in Xcode

  2. Open the "Project navigator" view in the side pane as you can see below, and select the top most element, the "CovidGraphs" project. And then for each of the 5 Targets, change the Team to your personal team, and the 3rd segment of the Bundle identifier to something unique (I changed CovidGraphs to CovidGras):

    Project Targets in Xcode
  3. Then expand the WatchApp directory, and in the info.plist, change the WKCompanionAppBundleIdentifier in the same way as shown above:

    WKCompanionAppBundleIdentifier in WatchApp's info.plist
  4. Then expand the WatchApp Extension directory, and in the info.plist, change the WKAppBundleIdentifier in the same way as shown in step 2:

    WKAppBundleIdentifier in WatchApp Extension's info.plist
  5. Connect your phone to your Mac and press the play button to get it installed.

Note: You might have to go into your Settings-> Device Management-> Select the certificate and verify/install Screenshot showing Device Management in Settings