Knomi S Face – iOS Integration

Estimated reading: 2 minutes 10 views

Importing the Knomi S Face SDK to a Project

Step 1: Add Your GitHub Account to Xcode:

  1. Open Xcode and go to Xcode > Settings... (or Preferences...).
  2. Click on the Accounts tab.
  3. Click the + button in the bottom left and select GitHub.
  4. Enter your GitHub username as Aware-Distribution
  5. For the password, paste the Personal Access Token you just copied.
  6. Click Sign In. Your account should now appear in the list.

Step 2: Add the Package to Your Xcode Project 📦

Now you can add the package just like you would with a public one.

  1. In your Xcode project, go to the menu bar and select File > Add Packages....
  2. A new window will appear. In the search bar at the top right, paste the HTTPS URL, https://github.com/Aware-Distribution/iOS-Knomi-S-Face
  3. Xcode will use your authenticated account to find the repository. It will show the package name and the available tagged versions.
  4. For Dependency Rule, you can leave it as "Up to Next Major Version" and select the latest version (e.g., 1.0.0).
  5. Click Add Package.
  6. A final sheet will appear asking which products to add to which target. Check the box next to your library product (e.g., FaceCapture) and make sure your main app target is selected in the dropdown.
  7. Click Add Package.
CONTENTS