Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Sat Dec 5 20:58:36 on ttys000
- dopeboy@dopeboy ~ % cd Desktop
- dopeboy@dopeboy Desktop % theos
- NIC 2.0 - New Instance Creator
- ------------------------------
- [1.] iphone/activator_event
- [2.] iphone/activator_listener
- [3.] iphone/application_modern
- [4.] iphone/application_swift
- [5.] iphone/cydget
- [6.] iphone/flipswitch_switch
- [7.] iphone/framework
- [8.] iphone/library
- [9.] iphone/notification_center_widget
- [10.] iphone/notification_center_widget-7up
- [11.] iphone/preference_bundle_modern
- [12.] iphone/theme
- [13.] iphone/tool
- [14.] iphone/tool_swift
- [15.] iphone/tweak
- [16.] iphone/tweak_with_simple_preferences
- [17.] iphone/xpc_service
- Choose a Template (required): 15
- Project Name (required): Reach
- Package Name [com.yourcompany.reach]:
- Author/Maintainer Name [dopeboy]:
- [iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]:
- [iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]:
- Instantiating iphone/tweak in reach/...
- Done.
- dopeboy@dopeboy Desktop % cd reach
- dopeboy@dopeboy reach % make package
- > Making all for tweak Reach…
- ==> Preprocessing Tweak.x…
- ==> Preprocessing Tweak.x…
- ==> Preprocessing Tweak.x…
- ==> Compiling Tweak.x (arm64)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/./NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:6:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:7:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:7:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:15:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:15:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:15:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:17:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:28:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:29:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:29:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:30:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:94:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:94:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:94:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:94:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 18 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.c2b01d78.o] Error 1
- rm /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.m
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Reach.dylib] Error 2
- make[2]: *** Waiting for unfinished jobs....
- ==> Compiling Tweak.x (armv7)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/./NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:6:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:7:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:7:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:15:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:15:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:15:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:17:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:28:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:29:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:29:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:30:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:94:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:94:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:94:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:94:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 18 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.68daf923.o] Error 1
- ==> Compiling Tweak.x (arm64e)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/./NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:6:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:7:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:7:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- rm /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.mTweak.x:15:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:15:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:15:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:17:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:28:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:29:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:29:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:30:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:94:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:94:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:94:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:94:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1;make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Reach.dylib] Error 2
- _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 18 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.0089d4e7.o] Error 1
- rm /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.m
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Reach.dylib] Error 2
- make[1]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
- make: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:116: Reach.all.tweak.variables] Error 2
- dopeboy@dopeboy reach % make package
- > Making all for tweak Reach…
- ==> Preprocessing Tweak.x…
- ==> Preprocessing Tweak.x…
- ==> Preprocessing Tweak.x…
- ==> Compiling Tweak.x (armv7)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:1: error: unexpected '@' in program
- @include UIKit;
- ^
- Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:8:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:16:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:17:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:18:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:29:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:95:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 19 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.68daf923.o] Error 1
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Reach.dylib] Error 2
- make[2]: *** Waiting for unfinished jobs....
- ==> Compiling Tweak.x (arm64)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:1: error: unexpected '@' in program
- @include UIKit;
- ^
- Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:8:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:16:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:17:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:18:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:29:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:95:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 19 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.c2b01d78.o] Error 1
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Reach.dylib] Error 2
- ==> Compiling Tweak.x (arm64e)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:1: error: unexpected '@' in program
- @include UIKit;
- ^
- Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:8:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:16:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:17:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:18:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:29:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:95:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 19 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.0089d4e7.o] Error 1
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Reach.dylib] Error 2
- make[1]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
- make: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:116: Reach.all.tweak.variables] Error 2
- dopeboy@dopeboy reach % clear
- dopeboy@dopeboy reach % make package
- > Making all for tweak Reach…
- ==> Compiling Tweak.x (armv7)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:1: error: unexpected '@' in program
- @include UIKit;
- ^
- Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:8:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:16:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:17:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:18:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:29:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:95:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 19 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.68daf923.o] Error 1
- ==> Compiling Tweak.x (arm64e)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:1: error: unexpected '@' in program
- @include UIKit;
- ^
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Reach.dylib] Error 2
- Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:8:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:16:30: error: unknown type name 'UIView'
- __attribute__((used)) staticmake[2]: *** Waiting for unfinished jobs....
- UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:17:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:18:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:29:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:95:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 19 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.0089d4e7.o] Error 1
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Reach.dylib] Error 2
- ==> Compiling Tweak.x (arm64)…
- Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
- static void (*_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$)(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$(_LOGOS_SELF_TYPE_NORMAL SBReachabilityManager* _LOGOS_SELF_CONST, SEL, id); static SBReachabilityBackgroundView* (*_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$)(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView*, SEL, CGRect, long long) _LOGOS_RETURN_RETAINED; static void _logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView(_LOGOS_SELF_TYPE_NORMAL SBReachabilityBackgroundView* _LOGOS_SELF_CONST, SEL);
- ^
- Tweak.x:1:1: error: unexpected '@' in program
- @include UIKit;
- ^
- Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
- @interface SBReachabilityManager : NSObject
- ^
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/usr/include/objc/NSObject.h:53:12: note: previous declaration is here
- @interface NSObject <NSObject> {
- ^
- Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
- @interface SBReachabilityBackgroundView : UIView
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- Tweak.x:8:31: error: unknown type name 'UIView'
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
- @property (nonatomic, retain) UIView *customView;
- ^
- Tweak.x:16:30: error: unknown type name 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:189: error: expected expression
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:16:181: error: use of undeclared identifier 'UIView'
- __attribute__((used)) static UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
- ^
- Tweak.x:17:170: error: unknown type name 'UIView'
- __attribute__((used)) static void _logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd, UIView * rawValue) { objc_setAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, rawValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); }
- ^
- Tweak.x:18:210: error: unknown type name 'CGRect'
- static SBReachabilityBackgroundView* _logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$(_LOGOS_SELF_TYPE_INIT SBReachabilityBackgroundView* __unused self, SEL __unused _cmd, CGRect arg1, long long arg2) _LOGOS_RETURN_RETAINED {
- ^
- Tweak.x:29:25: error: use of undeclared identifier 'UIView'
- self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
- ^
- Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
- self.customView.backgroundColor = UIColor.redColor;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
- self.customView.backgroundColor = UIColor.redColor;
- ^
- Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
- [self addSubview:self.customView];
- ~~~~ ^~~~~~~~~~
- Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
- Tweak.x:95:1165: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- Tweak.x:95:1400: error: unknown type name 'UIView'
- {Class _logos_class$_ungrouped$SBReachabilityManager = objc_getClass("SBReachabilityManager"); { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_setKeepAliveTimer), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_setKeepAliveTimer, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_setKeepAliveTimer);}{ MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityManager, @selector(_tapToDeactivateReachability:), (IMP)&_logos_method$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityManager$_tapToDeactivateReachability$);}Class _logos_class$_ungrouped$SBReachabilityBackgroundView = objc_getClass("SBReachabilityBackgroundView"); { objc_property_attribute_t _attributes[16]; unsigned int attrc = 0; _attributes[attrc++] = (objc_property_attribute_t) { "T", "@\"UIView\"" }; _attributes[attrc++] = (objc_property_attribute_t) { "&", "" }; _attributes[attrc++] = (objc_property_attribute_t) { "N", "" }; class_addProperty(_logos_class$_ungrouped$SBReachabilityBackgroundView, "customView", _attributes, attrc); char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(customView), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$customView, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(UIView *)); class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(setCustomView:), (IMP)&_logos_property$_ungrouped$SBReachabilityBackgroundView$setCustomView, _typeEncoding); } { MSHookMessageEx(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(initWithFrame:wallpaperVariant:), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$, (IMP*)&_logos_orig$_ungrouped$SBReachabilityBackgroundView$initWithFrame$wallpaperVariant$);}{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
- ^
- 19 errors generated.
- make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.c2b01d78.o] Error 1
- make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Reach.dylib] Error 2
- make[1]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
- make: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:116: Reach.all.tweak.variables] Error 2
- dopeboy@dopeboy reach %
Advertisement
Add Comment
Please, Sign In to add comment