Skip to content

heremaps/here-ios-sdk-examples

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

HERE Mobile SDK 3.x for iOS example projects

Deprecated

Copyright (c) 2011-2022 HERE Europe B.V.

This repository holds a series of Objective-C and Swift projects using the HERE Mobile SDK for iOS. More information about the API can be found on developer.here.com under the Android & iOS SDKs section.

Note: This service is no longer being actively developed. We will only provide critical fixes for this service in future. Instead, use the new HERE SDK 4.x HERE Premium SDK (3.x) is superseded by new 4.x SDK variants and the Premium SDK will be maintained until 31 December 2022 with only critical bug fixes and no feature development / enhancements. Current users of the HERE Premium SDK (3.x) are encouraged to migrate to Lite, Explore or Navigate HERE SDK (4.x) variants based on licensed use cases before 31 December 2022. Most of the Premium SDK features are already available in the new SDK variants. Onboarding of new customers for Premium SDK is not possible.

This set of self-contained, use-case based projects is designed to be cloned by developers for their own use.

Note: In order to get the sample code to work, you must replace all instances of {YOUR_APP_ID}, {YOUR_APP_CODE} and {YOUR_LICENSE_KEY} within the code and use your own HERE credentials.

You can obtain a set of credentials from the Contact Us page on developer.here.com.The bundle ID registered must match it in your app.

License

Unless otherwise noted in LICENSE files for specific files or directories, the LICENSE in the root applies to all content in this repository.

HERE Mobile SDK for iOS (Premium)

All of the following projects use version 3.19 of the HERE Mobile SDK for iOS (Premium)

How to build apps

Using CocoaPods

  1. Run "pod install" or "pod update" in the application's root directory to install the HERE Mobile SDK. This will integrate NMAKit.xcframework into your project

  2. In the "General" settings of the App target:

    • Select an eligible provisioning profile or enable "Automatically manage signing".
  3. In AppDelegate.m:

    • Enter an app id, app code and license key.

Without CocoaPods

  1. In the "General" settings of the App target:

    • Select an eligible provisioning profile or enable "Automatically manage signing".
    • Add NMAKit.xcframework to the "Frameworks, Libraries and Embedded Content" section in Xcode. Avoid "Do Not Embed" option. Otherwise you will get a "dyld: Library not loaded: @rpath/NMAKit.framework/NMAKit" error at runtime.
  2. In AppDelegate.m:

    • Enter an app id, app code and license key.

Build Requirements

  • Xcode 12 or above
  • HERE Mobile SDK for iOS (Premium) Version 3.19 or above

Target Platform

  • iOS 14 or above