SwiftadvancedmobileAI generated

Location-Based Fitness Tracker with HealthKit

Build an app that tracks outdoor runs using Core Location for route mapping and HealthKit for heart-rate and calorie data, running accurately in the background. Learners practice background location updates, HealthKit authorization and queries, and MapKit route rendering.

Estimate
~12.5h
Steps
6
Completed by
0
Proposed by
codeseed.app

SwiftUI · CoreLocation · HealthKit · MapKit

Project roadmap

  1. 01

    Configure background location tracking

    ~2h

    Request always-on location permission and enable background location updates.

  2. 02

    Record GPS route points

    ~2h

    Capture and store GPS coordinates during an active run session.

  3. 03

    Integrate HealthKit

    ~2.5h

    Request HealthKit authorization to read heart rate and write workout summaries.

  4. 04

    Render the route on a map

    ~2h

    Draw the recorded run route on a MapKit view.

  5. 05

    Compute run summaries

    ~2h

    Calculate pace, distance, and estimated calories burned from the recorded data.

  6. 06

    Test background behavior

    ~2h

    Verify accurate tracking in the background on a physical device.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~12.5h · 6 steps

Tech stack

SwiftUICoreLocationHealthKitMapKit