1. Configuration Settings

1.1 Import ARGear framework

First, import the ARGear framework to your project.

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

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

Nest, 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

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 project's Bundle Identifier should be same as ARGear Console's Bundle Identifier.

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 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=="