How to install the SDK Unity Sample App

The following is a walk through for building and running the SDK Sample App on a compatible device.

Steps to build and install our Sample App:

Check System Requirements
You WILL have issues that we can't support if you don't ensure your developement environment is matching our requirements.

  • iPhone 11, iPhone 11 Pro, iPhone 11 Pro Max, iPhone XS Max, iPhone XS, iPhone XR, iPhone X, iPhone 8 Plus, iPhone 8, iPhone 7 Plus, iPhone 7
  • iPad Pro (All generations and sizes), iPad Mini (2019, 5th Gen), iPad Air (2019, 3rd Gen), iPad (2019, 7th Gen), iPad (2018, 6th Gen)
  • iOS 11.4 or newer
  • Xcode 10+
  • Unity3D 2019.2+
  • Unity Hub 2.0+

Download and then extract the sample app folder from the .zip file to your desired location.
Replace Assets/Plugins/iOS/SixDegreesSDK.plist with your personal keys downloaded from your developer profile.
Connect your mobile device to your computer.
Open Unity Hub, click the Add button and browse to the folder of the sample app project.
Select "iOS" as the target platform and click the project to start Unity.
Navigate to File > Build Settings... in the Unity app menu
All of the scenes should be automatically added and checked. If any are not checked, please click the corresponding checkbox to add to the build.
Select Build and Run. Save the build to your desired location and select Save. Xcode should open automatically after a short time.
You may encounter errors when Xcode opens, especially if this is your first time building this project. These errors can be cleared by changing your Signing settings.
Now you can change the Signing Team. You should also change the Bundle Identifier to your organization’s name.
New for iOS 12 support, in the Capabilities tab, check Access WiFi Information. Note this option only exists in Xcode 10+. This option is only available to developers enrolled to the paid Apple Developer Program (needed to publish apps to the App Store).
For best performance, go into the Scheme settings and uncheck "Debug executable"
Everything should now be ready to build to the mobile device! Click the Run button. The Sample App should open on the mobile device automatically.
Now that your app is running, go check out our tutorial on interacting with the apps!