Legacy Dependency Support

If you prefer to use the manual Arkose SDK dependency using xcframework or static library in your Apple app, follow these steps for the integration:

  1. In Xcode, open your Host application.
  2. From the Project Navigator area, select the folder with your project’s name.
  3. From the project’s xcodeproj details, select Target.
  4. To use the dynamic framework:
    1. Scroll to Frameworks, Libraries, and Embedded Content and drag and drop ArkoseLabsKit.xcframework into this section.
    2. In Project Navigator, find Frameworks folder and verify ArkoseLabsKit is inside it.
    3. Click on Build Phases to display that tab. Find Link Binary with Libraries and Embed Frameworks section and confirm it contains ArkoseLabsKit.xcframework.
  5. To use the static library:
    1. Create a New Folder in your project called ArkoseLabsKitStatic.
    2. Drag and drop all files into the new folder from the SDK build dist folder.
    3. Scroll to Frameworks, Libraries, and Embedded Content and drag and drop:
      1. For iOS Device Support add ArkoseLabsKitStaticiOS.a file in the section.
      2. For iOS Simulator Support add ArkoseLabsKitStaticiOSSim.a file in the section.
      3. For Mac Support add ArkoseLabsKitStaticMac.a file in the section.
    4. In Copy Bundle Resources section, add ArkoseLabsKitResource.Bundle.
  6. To use the static framework:
    1. Scroll to Frameworks, Libraries, and Embedded Content and drag and drop ArkoseLabsKitStatic.xcframework into this section.
    2. In Project Navigator, find Frameworks folder and verify ArkoseLabsKitStatic is inside it.
    3. Click on Build Phases to display that tab. Find Link Binary with Libraries and Embed Frameworks section and confirm it contains ArkoseLabsKitStatic.xcframework.
    4. In Copy Bundle Resources section, add ArkoseLabsKitResource.Bundle.
  7. Perform a Clean task.
  8. Perform a Build.