- Open up the Terminal by going to 'Terminal > New Terminal'
- In the terminal type: 'cordova platform add ios'
- Make sure you're standing on the path 'Name@ComputerName CordovaLabb1 %'
- 1.0 Else navigate to the correct path using 'cd'
- Run the in-built script for building the project: 'npm run-script build'
- Wait for the project to finish
- When standing on the correct path as the previous step run the command: 'cordova run ios'
- Wait for the simulator to appear and the installation to finish
- Wait for the application to load correctly
- On the first scene you will see a Chuck Norris joke
- 1.0 Below the joke you can see a button where the title says: 'Turn on flashlight'
- 1.1 If the button is tapped your flashlight will start for 5 seconds (On a real device)