Installation

Prerequisites

List necessary software and tools:

  • Xcode 12.0+

  • Minimum iOS version 9.0

Installation Steps

  1. Download the SDK:

Download the latest version of the Noctua SDK from here.

JYouLoginKit.framework and SSBundle.bundle are the core SDK framework and resources.

  1. Add the SDK to your Xcode project:

  • Drag and drop the SDK file into the project, select the correct target

For the xcode project exported using Unity version 2019.3 and later, it contains the UnityFramework dynamic library. When importing the SDK file, you need to pay attention to: .a or .framework and other static libraries TargetMembership need to be associated with UnityFramework.

Resource files such as .bundle TargetMembership need to be linked to Unity-iPhone.

  1. Modify Build Settings:

    Add -ObjC to Other Linker Flags

  2. Add SDK permissions

    When supporting data statistics, such as Appsflyer, Adjust, FB and other data statistics SDK, you need to add ATT permission, and ask the user to enable tracking permission to track or access the advertising identifier (ie IDFA) of their device.

    App Tracking Transparency (ATT) permission

    NSUserTrackingUsageDescription(Privacy - Tracking Usage Description) String key that needs to be added to Info.plist/ the Xcode project's Informationtab (.xcodeproj or .xcworkspace files).

Last updated