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:
- In Xcode, open your Host application.
- From the Project Navigator area, select the folder with your project’s name.
- From the project’s
xcodeprojdetails, select Target. - To use the dynamic framework:
- Scroll to Frameworks, Libraries, and Embedded Content and drag and drop
ArkoseLabsKit.xcframeworkinto this section. - In Project Navigator, find
Frameworksfolder and verifyArkoseLabsKitis inside it. - Click on Build Phases to display that tab. Find Link Binary with Libraries and Embed Frameworks section and confirm it contains
ArkoseLabsKit.xcframework.
- Scroll to Frameworks, Libraries, and Embedded Content and drag and drop
- To use the static library:
- Create a New Folder in your project called
ArkoseLabsKitStatic. - Drag and drop all files into the new folder from the SDK build
distfolder. - Scroll to Frameworks, Libraries, and Embedded Content and drag and drop:
- For iOS Device Support add
ArkoseLabsKitStaticiOS.afile in the section. - For iOS Simulator Support add
ArkoseLabsKitStaticiOSSim.afile in the section. - For Mac Support add
ArkoseLabsKitStaticMac.afile in the section.
- For iOS Device Support add
- In Copy Bundle Resources section, add
ArkoseLabsKitResource.Bundle.
- Create a New Folder in your project called
- To use the static framework:
- Scroll to Frameworks, Libraries, and Embedded Content and drag and drop
ArkoseLabsKitStatic.xcframeworkinto this section. - In Project Navigator, find
Frameworksfolder and verifyArkoseLabsKitStaticis inside it. - Click on Build Phases to display that tab. Find Link Binary with Libraries and Embed Frameworks section and confirm it contains
ArkoseLabsKitStatic.xcframework. - In Copy Bundle Resources section, add
ArkoseLabsKitResource.Bundle.
- Scroll to Frameworks, Libraries, and Embedded Content and drag and drop
- Perform a Clean task.
- Perform a Build.
Updated 1 day ago