编译错误

错误提示:
macdeMacBook-Pro:hookscreenshotter mac$ make
Making all for tweak hookScreenShotter…
Preprocessing Tweak.xm…
Compiling Tweak.xm…
**Tweak.xm:7:78: ***error: class method ‘+sharedInstance’ not found (return type defaults to ‘id’)
** -Werror,-Wobjc-method-access]

SBScreenShotter shotter = [_logos_static_class_lookup$SBScreenShotter() sharedInstance];
** ^~~~~~~~~~~~~~

**Tweak.xm:8:14: **error: instance method ‘-saveScreenshot:’ not found (return type defaults to ‘id’)
** -Werror,-Wobjc-method-access]

[shotter saveScreenshot:YES];
** ^~~~~~~~~~~~~~

**Tweak.xm:3:8: note: receiver is instance of class declared here
@class SBScreenShotter; @class SpringBoard;
** ^

2 errors generated.
make[2]: *** [obj/Tweak.xm.3af22cf9.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [hookScreenShotter.all.tweak.variables] Error 2
macdeMacBook-Pro:hookscreenshotter mac$

源码:
%hook SpringBoard

-(void)menuButtonDown:(id)down
{
%orig;
NSLog(@“hook shotter:down: %s, %@”,object_getClassName(down),down);
SBScreenShotter *shotter = %c(SBScreenShotter) sharedInstance];
[shotter saveScreenshot:YES];
}

%end
怎么找不到这个方法啊,是不是要添加头文件啊,如果是怎么添加啊,我尝试过这样添加修改plist:
{
Filter = {
Mode = Any;
Classes = (
SBScreenShotter,
);
Bundles = (
“com.apple.springboard”,
);
};
}

可是还不行,请版主帮我这个菜鸟一下呢。另外我的手机上看不到syslog这个文件夹,后来我google了一下发现有工具能实时看日志觉得这个蛮方便的,但不清楚为何看不到syslog,还请版主也顺便告诉我下原因呢。

你先把书看完吧,你问的这个几个问题书上都解释了