Get started with targeting your ARCore Unity apps to iOS.
ARCore SDK for Unity iOS support
The ARCore SDK for Unity lets you create AR experiences that Android and iOS users can share. The latest version of the SDK includes iOS build support for the ARCore Cloud Anchor API and a Cloud Anchors sample app.
Unity SDK platform support
The samples included in the ARCore SDK for Unity have the following build support limitations:
|Sample||Android support||iOS support||How to try the sample|
|HelloAR||Yes||No||Follow the steps in the Unity Quickstart for Android to target Android.|
|ComputerVision||Yes||No||Follow the steps in the Unity Quickstart for Android to target Android.|
|AugmentedImages||Yes||No||Follow the steps in the Unity Quickstart for Android to target Android.|
Get started with targeting iOS in Unity
This guide covers:
- Hardware and software requirements for targeting iOS
- How to set up your development environment
- How to build and launch your own ARCore Unity iOS app
ARKit compatible device that is also supported by ARCore
A USB cable to connect your device to your development machine
Unity 2017.4.26f1 or later with iOS Build Support selected during installation
Unity 2019 only: Before importing the ARCore SDK for Unity, install the following required packages from Window > Package Manager:
- Multiplayer HLAPI
- XR Legacy Input Helper
Get the ARCore SDK for Unity
- Download ARCore SDK for Unity 1.9.0 or later.
The SDK is downloaded as file called
Create a new project and import the SDK
Open Unity and create a new 3D project.
Unity 2019 only:
- Select Window > Package Manager
- Select and install the following packages:
- Multiplayer HLAPI (required by the CloudAnchors sample)
- XR Legacy Input Helpers (Instant Preview requires the
Select Assets > Import Package > Custom Package.
Import the ARCore SDK for Unity:
arcore-unity-sdk-1.9.0.unitypackagethat you downloaded.
In the Importing Package dialog, make sure that all package options are selected and click Import.
Include the ARKit SDK for Unity
- Download the latest Unity-ARKit-Plugin 1.7 or later.
- Add the
UnityARKitPluginfolder into the
Assetsfolder of your project.
Configure build and platform settings
- Select File > Build Settings.
- Select iOS and click Switch Platform.
- In the Build Settings window, click Player Settings.
- In the Inspector window, open the Other Settings menu.
- Configure the following settings:
Setting Value Player Settings > Other Settings > Bundle Identifier Add your app's name in a reverse DNS format.
For example, use
Player Settings > Other Settings > Camera usage description Enter a description to explain your use of AR. Player Settings > Other Settings > Target minimum iOS version 11.0 or higher Player Settings > Other Settings > Architecture
Build and launch the app
Your development environment is now configured for targeting iOS with the ARCore SDK for Unity.
To build and try out the iOS sample included in the ARCore SDK for Unity, see the Quickstart for Cloud Anchors in Unity for iOS.
You can use the following steps for building and launching your own ARCore apps targeting iOS.
Build for iOS
In Unity, click Build and select an output folder for your iOS Xcode project. An Xcode project is generated.
Locate and open the generated
Unity-iPhone.xcworkspaceworkspace file in Xcode.
To avoid build errors, do not build or launch from the included
In Xcode, select the Unity iOS project in the left pane, connect your device, and launch your app.