XCode >= 11.0
Cocoapods >= 1.9.1 (can be installed via brew)
Unity3D >= 2019.3.14f1
The app demonstrates simple anchoring of content, in this case - colored boxes. To test the anchoring is working, tap on the screen in some locations to leave boxes there and restart the app. The boxes shall appear where you left them.
Open Empty project in Unity.
Go to: Window -> Package Manager
Click on the “+” button on the uppermost-left corner, and click on “Add package from git URL...”
In the text box copy-paste the plugin-url and press Add: https://gitlab.com/resight/unity-plugin.git
At this point, ResightSDK is good to go. But we recommend experimenting with our sample app. To do so, still in Package Manager, select “Import Into Project”
In the project pane, double click the “HelloWorld” scene to load it into the Editor.
Locate the “LibResight” object, click on it and fill in the “Dev Key” as being provided to you during the registration process
Go to File->Build Settings: switch platform to “iOS” and click the “Add Open Scenes” button
Hit the “Build And Run” and wait till Unity exports the files to the corresponding XCode project. (Usually, XCode is automatically open when this process is done).
Once in XCode, select “Unity-App” in the project pane and go to “Signing & Capabilities”. There you should select your signing key (out of the scope of this tutorial).
Connect your device and hit “Play”. Wait for the app to build and install.