Skip to content

DeepARSDK/quickstart-macos-objc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

quickstart-macos-objc

Overview

This is an example app demonstrating DeepAR SDK.

  • Preview of fun face filters, effects and background replacement.
  • Carousel with filter thumbnails.
  • Take screenshot.
  • Source code demonstrates how to integrate DeepAR for iOS/MacOS in your app.

For more info on DeepAR for iOS/MacOS see: https://docs.deepar.ai/category/deepar-sdk-for-ios

How to run

  1. Open the project in Xcode.
  2. Create a DeepAR developer account: https://developer.deepar.ai/signup.
  3. Create a project: https://developer.deepar.ai/projects.
  4. Add a MacOS app to the project. Note that you need to specify the bundle id of your app. In this case it is "ai.deepar.quickstart-ios".
  5. Copy the generated license key in the ViewController.m instead of your_license_key_here.

Common issues

  • If your Mac has an M1 chip you need to change the build target to My Mac (Rosetta).
  • If the app keeps shutting down, this means you have some license key issue. Make sure you have properly setup the project on dev portal with correct bundle ID and copied the correct license key.
  • In this example we have disabled library validation (Signing & Capabilities -> Hardened runtime). To distribute your app, you need to enable it and properly sign the DeepAR.xcframework.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •