AvatarKit is built in the form of framework, that uses the SceneKit. AvatarKit framework is built as an universal framework, that means you can use the same binary on both the simulator and device. AvatarKit is the core technology to generate the a 3D avatar from one single front face photo. The main features of AvatarKit include:
- Create 3D avatar from one single front face photo
- Render the 3D avatar in the iOS device
- Avatar management
- Assets (accessories management)
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects, which automates and simplifies the process of using 3rd-party libraries in your projects. It is the recommended way to add AvatarKit to your project.
- Add a pod entry for AvatarKit to your Podfile
pod 'AvatarKit'
- Install the pod(s) by running
pod install
, before maybe you need to runpod repo update
. - Include AvatarKit wherever you need it with
import AvatarKit
.