Skip to content

Instantly share code, notes, and snippets.

@iambrian
Last active October 18, 2016 02:29
Show Gist options
  • Save iambrian/70454b8bad4eb3d95ccab23a4fb2b83b to your computer and use it in GitHub Desktop.
Save iambrian/70454b8bad4eb3d95ccab23a4fb2b83b to your computer and use it in GitHub Desktop.
ARtoolkit Setup for iOS

Download the iOS package from: http://artoolkit.org/download-artoolkit-sdk

Click on the .xcodeproj file

NB: the project is not compatible with the simulator, so you will need to connect your device now

In the device dropdown, select your device

In the app dropdown (to the left of the device dropdown), select ARApp

Click Run

Troubleshooting at this point:

  1. Some error saying select a development team: Click the folder icon on the left hand side menu, then click on the .xcodeproj file. In the main menu, under General > Signing, use the dropdown for Team to select one. If none, you will need to add one via XCode > Preferences > + Account. Also, make sure your Bundle Identifier is changed to something unique.
  2. After the app installs on the device, you will need to "Trust" the developer: go to General > Profiles & Device Management > Click Trust
  3. iOS >10 now requires Privacy dialog messages be filled out in the app's info.plist file. Otherwise the app will crash upon startup. So use the search box to find *info.plist and add a row for "Privacy - Camera Usage Description". And fill in the corresponding description text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment