-
Notifications
You must be signed in to change notification settings - Fork 6
[EN] Get Started
gujiayang edited this page Feb 26, 2017
·
2 revisions
- Download Project SDK source code
git clone https://github.com/FacePlusPlus/MegviiLicMgr-iOS-SDK.git- Download Face++ LicMgr SDK
Please create an account on Face++ website, and download iOS SDK from the console.
- Import Static Library
- Open
MegviiLicMgr-iOS-SDK/MGLicMgrSDK.xcodeprojproject 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) toMegviiLicMgr-iOS-SDK/MGLicMgrSDK/licenseSDK/; - Set project files, in
MGLicMgrSDK > Build Setting, search forCurrent 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;
- 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.

- Next Step
- After compiling a static library, you need to integrate this SDK into your project;
- You can learn more about how to use LicMgr iOS API.