Overview
This section provides the setup guide for the Duix iOS SDK demo project, which allows developers to experience the SDK’s real-time digital human capabilities — including initialization, rendering, and audio-video interaction — directly in Xcode.Step 1: Download the iOS Demo
Click below to download the latest official iOS demo package: 👉 duix-cloud-demo-ios_1.2.7.zipNote: The demo project includes all required SDK dependencies and configuration for quick testing.
Step 2: Open the Project in Xcode
- Extract the downloaded
.zipfile. - Open the project folder in Xcode 14.0 or later.
- Wait for Xcode to automatically index and resolve dependencies.
- Confirm that your iOS deployment target matches your connected device or simulator.
Step 3: Configure and Run
- Select your build target (e.g., iPhone 14 Pro).
- Click Run ▶️ to launch the demo.
- Once initialized, the digital human should appear and respond in real time.
Tip: The first run may require microphone and camera permissions. Grant access when prompted.
Environment Requirements
Troubleshooting
- Build failed? Ensure CocoaPods and Xcode Command Line Tools are up to date.
- Network issues? Confirm your device can reach
duix.comand your firewall allows WebRTC ports. - Permissions denied? Re-enable microphone and camera in Settings → Privacy → App Permissions.