How to install the 6D.ai SDK SceneKit Sample App
The following is a walk through for building and running the 6D.ai SDK SceneKit 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 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 2018 (6th Gen only)
- iOS 12 or iOS 11.4+
- 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.
Open HexPitSample.xcodeproj with Xcode.
Select the project and 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).
Add or Replace HexPitSample/Supporting Files/SixDegreesSDK.plist with your personal keys downloaded from your developer profile.
For best performance, go into the Scheme settings and uncheck Debug executable.
Everything should now be ready to build to the mobile device! Connect your iPhone or iPad, then click the Run button. The 6D.ai Sample App should open on the mobile device automatically.
Now that your app is running, go check out our tutorial on interacting with the app.