The following set of instructions will help you get StepUp up and running on your iOS smartphone.
In order to build and run this application on your device, make sure you meet the following prerequisites:
Once all the prerequisites are met, follow these instructions to build and install StepUp on your device:
Open the Terminal window and type the following command:
git clone https://github.com/adildsw/stepUp
Navigate to the directory containing the cloned StepUp repository and then open StepUp.xcodeproj
on Xcode.
If unsure, refer to this link to know more about creating code signing certificate and setting up provisioning profile on Xcode.
Make sure that the connected device is selected as the build destination before initiating the build.
If the instructions specified above are followed correctly, StepUp should be up and running on the connected iPhone device.
NOTE: While this installs StepUp on the connected iPhone, if the signing certificate/provisioning profile is not generated by an account subscribed to Apple's Developer Program, the application will become unusable after 6 days and will have to be build again for continued usage.
StepUp monitors the user's movement only when the Play
button is tapped. Similarly, tapping the Pause
button pauses the movement monitor. The Reset
button stops the movement monitor, clears the graph, and resets the step counter.
NOTE: The device is supposed to be kept on hand facing the user (as illustrated in the Figure above) for StepUp to be able to accurately record the step count instantaneously.
StepUp uses readings from the device's accelerometer and passes them through a thresholding-based algorithm to understand the user's movement. For more details, please refer to this document.
StepUp uses the Charts library by Daniel Cohen Gindi for plotting the graphs on the UI.
MIT License
Copyright (c) 2021 Adil Rahman
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.