Embed Unity-powered AR directly into your native iOS apps with a clean, reproducible setup.
This repository is a working sample showing how to embed a Unity 6 AR Mobile Core project inside a native iOS app using Unity as a Library (UaaL).
It covers the full process from Unity project setup to iOS build export to native integration in Xcode 16.4, including AR camera functionality and debugging.
Full step-by-step guide: Unity as a Library with Unity 6 & Xcode 16.4
/Unity/ # Unity 6 AR Mobile Core project (source only) /UaaLHostFinal/ # Native iOS host app (SwiftUI)
- Unity 6 AR Mobile Core template integration into a native iOS app
- SwiftUI-based host with Objective-C bridge for Unity
- Camera permission and AR session support
- Native debugging in Xcode
- Unity C# debugging over USB with VS Code and iproxy
- Unity 6000.x (Unity 6)
- Xcode 16.4
- macOS with libimobiledevice (
brew install libimobiledevice) for USB debugging - Physical iOS device (required for AR testing)
- Clone this repository
- Open
/Unity/in Unity 6 and build for iOS intoios-host/UnityBuild/ - Open
/UaaLHostFinal/UaaLHostFinal.xcworkspacein Xcode - Set your signing team, build, and run on device