- MacBook running the latest version of macOS
- The latest version of Xcode
- The dataset in use tracked occupants within a building from 8:00 am - 9:00 pm on weekdays and 10:00 am - 4:00 pm on weekends. Therefore, running our application outside of these time frames will result in an empty room with 0 occupants. For best results in viewing the live capabilities of our application, please run our application within the specified time frames. Thank you.
- Please ensure that the requirements above are met. Clone the repository to your local machine.
- Navigate to the “iOS Project” directory in the CrowdSafe repository.
- Open “CrowdSafe.xcworkspace”. Using the command "open CrowdSafe.xcworkspace" or simply clicking on the project icon will automatically open the project in Xcode.
- At the upper-left of the Xcode IDE, you will see a play and stop button. To the right of the stop button, make sure you see “CrowdSafe > iPhone 11”. If you do not see this, please click on this and make the appropriate adjustments.
- Press “Command + R” on your keyboard or click the play button at the upper-left of the Xcode IDE. Please allow several minutes for the app and simulator to build.
- Once the simulator builds, you will be presented with a map and prompted to select a location. Click on the red pin, then click on the blue info button on the right side of the pop up.
- You should now be at the main menu. If four heat zones are not present on the diagram, please allow for the app to finish loading.
- Once the heat maps have appeared, you can click on each zone to reveal the number of occupants in that zone. Clicking on "exit plan" will direct you to the building exit plan. Clicking on the "refresh" button will refresh the app, although the app will automatically refresh every 60 seconds.