iOS Project Configuration

In addition to the following configurations, please also pay attention to the settings in EasyAR Settings.

Bundle ID

Set iOS Bundle ID in Player Settings. Bundle ID should be same with the one when creating License Key

../_images/image_g3_4.png

A window will popup if the License Key is invalid (e.g. when bundle id is not matched)

../_images/image_g3_5.png

The application will fail to work if you continue to build when this window shows. Please check and fix problems according to messages in the window.

Note

In some special situation when you want to initialize EasyAR manually using scripts, you do not use the license key in the Settings asset. In this case, you can choose Continue and don't warn me again , or disable EasyAR Sense License > Verify When Build option in EasyAR Settings to disable verification in the build process.

Target Architecture

Set architecture to be ARM64 in Player Settings.

Notice: Universal is not supported.

../_images/image_g3_6.png

Usage Description Configuration

Configuire different Usage Description according to Permissions settings in EasyAR Settings.

Add Camera Usage Description if Camera permission is on, or the build will fail.

../_images/image_g3_1.png

And Location Usage Description if Location permission is on, or the build will fail.

../_images/image_g3_3.png

EIF Default Path Read Permission (XCode Project)

Note

Not require. Only needed if record eif using default path and need to sent it to a computer.

If you need to record EIF using default path and send it to a computer or other device, you need to add the following fields to the Info.plist,

  • Add UIFileSharingEnabled and set its value to true

Note

It is normal that the displayed text is not the same as you insert to the plist.

../_images/image_g3_2.png