There's a sample project in the proj.ios_mac
directory.
How to integrate the AppsFlyer SDK into your Cocos2dx Apple project.
1. Download the source files and copy them to your project
AppsFlyerX.cpp
AppsFlyerX.h
AppsFlyerX+AppController.h
AppsFlyerX+AppController.m
AppsFlyerXApple.h
AppsFlyerXApple.mm
AppsFlyerXAppleDelegate.h
AppsFlyerXAppleDelegate.mm
AppsFlyerXAppleHelper.h
AppsFlyerXAppleHelper.mm
AppsFlyerXMacro.h
EmailCryptTypeX.h
libAppsFlyer/AppsFlyerCrossPromotionHelper.h
libAppsFlyer/AppsFlyerLinkGenerator.h
libAppsFlyer/AppsFlyerShareInviteHelper.h
libAppsFlyer/AppsFlyerLib.h
libAppsFlyer/libAppsFlyerLib.a
to Classes/AppsFlyer
2. It looks like in the image below.
If you want to use AppsFlyer Strict mode SDK:
1. Download the source files from here and copy them to your project
2. Inside Xcode, go to your target, then Build Settings and define the Preprocessor Macro AFSDK_NO_IDFA=1