buginux / WeChatRedEnvelop

iOS版微信抢红包Tweak
2.27k stars 576 forks source link

make 报错 #238

Open heelin opened 4 years ago

heelin commented 4 years ago

make ==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://github.com/theos/theos/wiki/Parallel-Building

Making all for tweak WeChatRedEnvelop… ==> Compiling src/WBRedEnvelopConfig.m (armv7)… In file included from src/WBRedEnvelopConfig.m:10: src/WeChatRedEnvelop.h:186:25: error: cannot find interface declaration for 'UITableView', superclass of 'MMTableView' @interface MMTableView: UITableView


src/WeChatRedEnvelop.h:197:28: error: cannot find interface declaration for 'UIView', superclass of 'MMLoadingView'
@interface MMLoadingView : UIView
~~~~~~~~~~~~~~~~~~~~~~~~   ^
src/WeChatRedEnvelop.h:199:30: error: unknown type name 'UILabel'
@property(retain, nonatomic) UILabel *m_label; // @synthesize m_label;
^
src/WeChatRedEnvelop.h:199:1: error: property with 'retain (or strong)' attribute must be of object type
@property(retain, nonatomic) UILabel *m_label; // @synthesize m_label;
^
src/WeChatRedEnvelop.h:217:32: error: cannot find interface declaration for 'UIView', superclass of 'ContactSelectView'
@interface ContactSelectView : UIView
~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
src/WeChatRedEnvelop.h:224:39: error: cannot find interface declaration for 'UINavigationController', superclass of 'MMUINavigationController'
@interface MMUINavigationController : UINavigationController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
src/WeChatRedEnvelop.h:258:12: error: cannot find interface declaration for 'UINavigationController'; did you mean 'MMUINavigationController'?
@interface UINavigationController (LogicController)
^~~~~~~~~~~~~~~~~~~~~~
MMUINavigationController
src/WeChatRedEnvelop.h:224:12: note: 'MMUINavigationController' declared here
@interface MMUINavigationController : UINavigationController
^
src/WeChatRedEnvelop.h:264:33: error: cannot find interface declaration for 'UIViewController', superclass of 'MMUIViewController'; did you mean 'MMWebViewController'?
@interface MMUIViewController : UIViewController
^~~~~~~~~~~~~~~~
MMWebViewController
src/WeChatRedEnvelop.h:211:12: note: 'MMWebViewController' declared here
@interface MMWebViewController: NSObject
^
src/WeChatRedEnvelop.h:296:48: error: cannot find interface declaration for 'UIViewController', superclass of 'MultiSelectContactsViewController'; did you mean
'MMUIViewController'?
@interface MultiSelectContactsViewController : UIViewController
^~~~~~~~~~~~~~~~
MMUIViewController
src/WeChatRedEnvelop.h:264:12: note: 'MMUIViewController' declared here
@interface MMUIViewController : UIViewController
^
9 errors generated.
make[3]: *** [/Users/helin/Downloads/WeChatRedEnvelop-master/.theos/obj/debug/armv7/src/WBRedEnvelopConfig.m.46eed554.o] Error 1
make[2]: *** [/Users/helin/Downloads/WeChatRedEnvelop-master/.theos/obj/debug/armv7/WeChatRedEnvelop.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [WeChatRedEnvelop.all.tweak.variables] Error 2
HTTChina commented 3 years ago

我也有这个错误。。郁闷

Lzy8 commented 3 years ago

同样的问题,有什么办法吗

HOOKDLL commented 3 years ago

楼上几位大佬: open WeChatRedEnvelop.h and Tweak.xm Increase separately:#import <UIKit/UIKit.h> 我不打你们脸了,好自为知,这都基本常识了 有空买本 《iOS应用逆向与安全之道》 机械工业出版社正版购买通道: https://item.jd.com/12800426.html 看看吧!然后你可以加群骂回我来!望你们早日成为大神! image