当MakeFile 有这行编译的时候会提示: *** The "iPhone " target is not supported on the “macosx” platform. Stop.
这是咋回事呢…
当MakeFile 有这行编译的时候会提示: *** The "iPhone " target is not supported on the “macosx” platform. Stop.
这是咋回事呢…
感谢~~不过还有另外一个问题- -
%hook SBLockScreenDateViewController
(void)setCustomSubtitleText:(id)arg1 withColor:(id)arg2
{
%orig(@“zzzzzz”,arg2);
}
%end
编译的时候提示:
Tweak.xm:8:102: error: non-ASCII characters are not allowed outside of literals
and identifiers
…_cmd, @“zzzzzz”,arg2);
^
Tweak.xm:8:111: error: non-ASCII characters are not allowed outside of literals
and identifiers
…_cmd, @“zzzzzz”,arg2);
^
Tweak.xm:8:101: error: unexpected ‘@’ in program
…_cmd, @“zzzzzz”,arg2);
^
可以了~~用记事本打开 弄了半天的全角符号 还是不行 。用Xcode打开 写的话就没这个问题了。