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
A window will popup if the License Key is invalid (e.g. when bundle id is not matched)
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.
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.
And Location Usage Description if Location permission is on, or the build will fail.
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
UIFileSharingEnabledand set its value totrue
Note
It is normal that the displayed text is not the same as you insert to the plist.