Skip to content

[EN] Get Started

gujiayang edited this page Feb 26, 2017 · 2 revisions
  1. Download Project SDK source code

git clone https://github.com/FacePlusPlus/MegviiLicMgr-iOS-SDK.git
  1. Download Face++ LicMgr SDK

Please create an account on Face++ website, and download iOS SDK from the console.

  1. Import Static Library

  • Open MegviiLicMgr-iOS-SDK/MGLicMgrSDK.xcodeproj project file;
  • Unzip the SDK downloaded from Face++ website, copy libMegviiLicenseManager-0.2.0.a (we use SDK version 0.2.0 here as an example) to MegviiLicMgr-iOS-SDK/MGLicMgrSDK/licenseSDK/;
  • Set project files, in MGLicMgrSDK > Build Setting, search for Current Project Version, change it as the SDK version (such as 0.2.0);
  • Choose scheme > MGLicMgrSDK, click run, the static link library will then be compiled;
  1. Export Static Library

You have compiled SDK, now you can export SDK in order to integrate it into your projects.

  • libMGLicMgrSDK-0.2.0.a has been generated, which is the compiled Objective-C SDK;
  • Navigate to the enclosing folder of libMGLicMgrSDK-0.2.0.a. All the files in this folder (including the header file, model) are the static library we exported.

Face++ configure

  1. Next Step

Clone this wiki locally