Add LiveSenseDetection SDK to a project

The Live Sense SDK is provided as a .framework file. This is a ready to use iOS library module.

Obtain the SDK

To obtain the Live Sense SDK for iOS, use the following procedure:

  1. Register on https://developer.here.com for a 'Pro' account.
  2. Login and click on the project name to navigate to the project dashboard.
  3. Navigate to the section for HERE LIVE SENSE SDK FOR IOS and click on Generate App ID and App Code to obtain your app credentials and the SDK download link.
  4. Follow the link to download the SDK and examples as a Zip package.

To add LiveSenseDetection SDK to your project, use the following procedure:

  1. Create or open an iOS Swift or Objective-C based project.
  2. Ensure the minimum iOS version is set to iOS 12.4 or higher.
  3. Add the LiveSenseDetection framework to the project.

    • In Xcode, do the following:
      1. Go to Targets and select your target.
      2. Click the '+' icon on Embedded Binaries.
      3. Select LiveSenseDetection.framework from project-directory.
  4. Add openssl framework as a dependency to the project by any one of the following methods:

    • Download openssl framework and in Xcode, do the following:

      1. Go to Targets and select your target.
      2. Click the '+' icon on Embedded Binaries and add the downloaded openssl framework.
    • Add pod 'TensorFlowLiteSwift','2.6.0', :subspecs => ['Metal', 'CoreML'] for TFLite

    • Add openssl from any third-party cocoapods library.
  5. Use the License Key, APP ID and APP SECRET for authenticating your application.

  6. The following keys are required for the core functionalities of the SDK and need to be added to the Info.plist file with descriptions:

NSCameraUsageDescription NSLocationWhenInUseUsageDescription NSLocationAlwaysAndWhenInUseUsageDescription NSLocationAlwaysUsageDescription (iOS 10 and earlier)

  1. In your app's Target Build Settings, select Enable Bitcode as No.

results matching ""

    No results matching ""