1. Configuration Settings

1.1 Import ARGear framework

First, you should import ARGear framework in your project.

To do so, create an account from https://argear.io and download ARGear framework from Download Free SDK menu.

In order to use ARGear framework, iOS Deployment Target should be set 9.0 or above.

After then, add the ARGear framework from TARGETS > General > Frameworks, Libraries, and Embedded Content as shown below.

<Fig. Example of Added ARGear Framework>

1.2 Build Settings

Please set TARGETS > Build Settings > Build Options > Enable Bitcode as No in your project.

<Fig. Build Settings의 Enable Bitcode>

1.3 Info.plist

To enable camera capture, video recording, writing and reading photos from storage, you must add related properties in Info.plist file. In the Value section, you can put information announcement message for users.

<Fig. Example of Privacy Setting in Info.plist>

1.4 API Information Settings

In order to use ARGear, you need to set API URL and API Key in your application and the bundle name should be same as Application ID.

API information can be obtained from ARGear Console (https://console.argear.io) by creating a project. Once created, you can check the information from Project Overview > Information in your Console.

Below is a sample code of an ARGear Sample App.

<Example Configuration Settings of a Sample App>
#define API_HOST @"https://apis.argear.io/api/v3/"
#define API_KEY @"48cdd456621ebddb5283f516"
#define API_SECRET_KEY @"e0ea29ce12178111d2a5e6093a6e048a2a6248b921f092f68c93992ca29a45ee"
#define API_AUTH_KEY @"U2FsdGVkX19PpdEiXZ2STDy+UCJ+a/WpUVPENK1zQO1IgoZ7wTGgWQDaRcc+ugqbOzP/y+m2SKpJmMgwz/1ABQ=="