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
Make sure to include iOS Build Support during installation
The Universal Render Pipeline (formerly known as Ligthweight Render Pipeline or LWRP) is not supported by the ARCore SDK for Unity
When using Unity 2019, the following Unity packages are required:
- Multiplayer HLAPI
- XR Legacy Input Helper
Get the ARCore SDK for Unity
- Download ARCore SDK for Unity 1.13.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 and install the following packages:
- Multiplayer HLAPI (required by the CloudAnchors sample)
- XR Legacy Input Helpers (required by Instant Preview, which uses the
When upgrading your project from an earlier version of Unity to Unity 2019.1 or later, verify the following setting:
Setting Value Player Settings > Other Settings > Script Runtime Version .Net 4.x Equivalent or higher
Select Edit > Project Settings > Google ARCore and check iOS Support Enabled.
Select Assets > Import Package > Custom Package.
Import the ARCore SDK for Unity:
arcore-unity-sdk-1.13.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 Unity-ARKit-Plugin.
- Add the
UnityARKitPluginfolder into the
Assetsfolder of your project.
Configure project 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.