ios - THEOS: compiling error when calling method in other class (logos) -


I'm trying to apply this tweak using the TOOOS which makes another view call on the load < Br> but I am receiving this error when I compiled:
Tweak.xm: 13: 57: error: class method '+ onLeftMenu' not found (return type defaults for 'id') [ -Werror, -Wobjc-method-access] [_logos_static_class_lookup $ FoxTubeViewController () onLeftMenu];

My code Tweak.xm file:
% hook Main view controller - (zero) viewDidLoad {% orig; [Cached video on% C (LeftMenu)]; }% End

If you want to use% c, you should

  #import "LeftMenu.h"  

and if you do not want it to be called from the runtime

  #import & LT; ObjC / runtime.h & gt;  

then like it

  [objc_getClass ("LeftMenu") onCachedVideo];  

Good luck


Comments