Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 2.01 KB

File metadata and controls

36 lines (33 loc) · 2.01 KB

How to route navigation apps right for fleet and logistics vehicles

A sample project demonstrating how to create vehicle-specific routes using TomTom Maps & Navigation SDKs. https://developer.tomtom.com

Environment Setup

This project uses version 0.52.0 of the TomTom Maps and Navigation SDK. For more details, visit the TomTom SDK release notes.

Requirements

  • iOS 17
    • Ensure your development device is running iOS 17 or later.
    • The project targets iOS 17, so please update your device accordingly if necessary.
  • Xcode 15

Additional Setup

  1. Clone the Repository
    git clone https://github.com/tnrvrd/tomtom-navigation-sdk-truck-specific-route-example
    cd tomtom-navigation-sdk-truck-specific-route-example
  2. Install Dependencies
    • Open the project in Xcode 15.
    • Navigate to the File menu, select Packages, and then Update to Latest Package Versions to install all required Swift packages.
  3. Configure API Keys
    • Obtain an API key from TomTom developer portal.
    • Replace the placeholder API key in Keys.swift with your own API key:
      // Keys.swift
      enum Keys {
          static let ttAPIKey = "YOUR_API_KEY"
      }
  4. Build and Run
    • Select your target device or simulator.
    • Click the Run button (or press Cmd + R) to build and run the project on your selected device.

Troubleshooting

  • If you encounter issues with Xcode 15 or iOS 17.0.1, refer to the official Apple Developer Documentation for support and troubleshooting tips.
  • Ensure all dependencies are up to date and correctly configured as per the instructions above.