A simple SwiftUI macOS app that simulates a GPS source over TCP by streaming NMEA 0183 sentences.
Clients can connect to the configured local IP and port to receive live simulated GPS output (GPRMC and GPGGA).
- Runs a TCP server for NMEA clients
- Sends periodic GPS sentences at a configurable rate
- Lets you set latitude, longitude, altitude, speed, and course
- Supports optional movement simulation
- Includes a map dialog to set/reset start position
- macOS
- Xcode 15+ (or newer)
- Open
NMEA Simulator.xcodeprojin Xcode. - Select the
NMEA Simulatorscheme. - Build and run on macOS.
- Set network and GPS values in the app.
- Click Start Server.
- Connect your NMEA client to
<local-ip>:<port>. - Watch incoming NMEA sentences in your client (and optionally in the app log).
- The app listens on all interfaces (
0.0.0.0) and displays the active local IP for convenience. - Network client/server entitlements are enabled for sandboxed macOS execution.
