> For the complete documentation index, see [llms.txt](https://www.xrdev.app/mixed-reality-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.xrdev.app/mixed-reality-docs/lessons/lesson1/project/how-to-setup-your-app-for-ios-android-device.md).

# How to set up your project for iOS or Android\[Experimental]?

**1 )** Make sure you have imported  **Microsoft.MixedReality.Toolkit.Unity.Foundation** as a custom asset or through NuGet.&#x20;

**2 )** In the Unity Package Manager (UPM), install the following packages:

| Android                         | iOS                            |
| ------------------------------- | ------------------------------ |
| AR Foundation Version: 2.1.4    | AR Foundation Version: 2.1.4   |
| ARCore XR Plugin Version: 2.1.2 | ARKit XR Plugin Version: 2.1.2 |

**3 )** Enabling the Unity AR camera settings provider.

The following steps presume use of the MixedRealityToolkit object. Steps required for other service registrars may be different.

1. Select the **MixedRealityToolkit** object in the scene hierarchy.

![MixedReality Toolkit in Hierarchy panel.](/files/-M9WFEAZcV6ac6S-ZA0H)

&#x20; 2\. Select **Copy and Customize** to Clone the MRTK Profile to enable custom configuration.

![Copy and Customize to Clone the MRTK Profile.](/files/-M9WFVBeJJ-fZJm4oytV)

&#x20;3\.  Select **Clone** next to the Camera Profile.

![Clone camera profile.](/files/-M9WFk1MCi7UVQdu7ils)

4\.  Navigate the Inspector panel to the camera system section and expand the **Camera Settings Providers** section.

![Camera Settings Providers](/files/-M9WFwd8J7dfADmdbH9O)

&#x20;5\.  Click **Add Camera Settings Provider** and expand the newly added **New camera settings** entry.

![New camera settings expanded view.](/files/-M9WG8hBnIMDPFt2bCQE)

&#x20;6\. Select the Unity AR Camera Settings provider from the Type drop down.

![Unity AR Camera Settings.](/files/-M9WGSGpR08bePP4-ovJ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.xrdev.app/mixed-reality-docs/lessons/lesson1/project/how-to-setup-your-app-for-ios-android-device.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
