Skip to content

Demo applications based on SygicMaps framework

License

Notifications You must be signed in to change notification settings

Sygic/sygic-sdk-examples-ios

Repository files navigation

SygicMaps SDK examples for iOS

Add navigation features to your app with SygicMaps framework. Examples are provided as an addition to documentation.

Structure

Each folder contains an iOS application project. Projects are independent from each other.

  1. SygicStart - show the map (corresponds to Getting Started)
  2. BasicRouting - calculate a route, show it on map (corresponds to Routing)

How to run

  1. Install CocoaPods
  2. Clone this repository
  3. From Terminal, go to SygicStart directory cd /your/path/to/sygic-sdk-examples-ios/SygicStart
  4. From Terminal, install CocoaPods dependencies using pod install
  5. Open SygicStart.xcworkspace
  6. Set your Apple Development signing identity
  7. Build the project (at the very first time it will fail because API key is not set yet)
  8. Fix errors in NoCommitConstants.swift by specifying your Sygic API key and License key (this file is shared between all projects)
  9. Build and run the application

Similar approach is valid for each folder with demo project.

Troubleshooting

  1. If SDK initialization fails with error "jwt token verification failed", most probably the License key doesn't match the application Bundle Identifier.

About

Demo applications based on SygicMaps framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published