Project Configuration

Last updated: 2020-04-01 16:47:36

    This document describes how to configure an iOS project for the GME APIs for iOS.

    SDK Preparations

    1. Download the applicable demo and SDK. For more information, please see Download Guide.
    2. Decompress the obtained SDK resources.
    3. The folder contains:
      • GMESDK.framework: native resource related to iOS development.
      • libGMESDK.a: Unity resource related to iOS development (you can ignore this file if you don't use the Unity engine for development).

    The SDK can run on iOS 7.0 and higher.

    Configuration Guide

    1. Add the following dependent libraries to Link Binary With Libraries in Xcode as needed and configure Framework Search Paths to point to the directory where the SDK is located as shown below:
    2. Add dependent libraries as shown below:
    3. Bitcode needs to support all the class libraries at the same time that the project depends on. As the SDK does not support Bitcode yet, you can temporarily disable it.
      To disable this feature, search for Bitcode under Targets > Build Settings and set the corresponding option to NO.
    4. The GME SDK for iOS requires the following permissions:
      • Required background modes: allows running in the background (optional).
      • Microphone Usage Description: grants the mic permission.
    5. Grant the Allow Arbitrary Loads permission as shown below:

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help