I just exported my game project from Cocos Creator 2.0.1 to iOS project. Now I want to integrate AppsFlyerFrameworkwith it to track install on iOS devices.
I followed everything on their guide but it produces this error on self variable as you can see from screen shot
It looks like you are implementing the AppsFlyerTrackerDelegate in the AppDelegate interface, and then trying to assign an AppController class. I would assume to implement the delegate in the AppController interface.
First of all - delegate MUST support the interface, so if you wish to write something like:
[AppsFlyerTracker sharedTracker].delegate = self;
the “self” (which is pointer to instance of this class, in your case AppController) must support required interface. In your case, if you wish realizing interface methods in AppController class, then you must declare interface in AppController, not in AppDelegate:
AppController.h