Guest User

19

a guest
Dec 5th, 2020 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Last login: Sat Dec  5 20:58:36 on ttys000
  2. dopeboy@dopeboy ~ % cd Desktop
  3. dopeboy@dopeboy Desktop % theos
  4. NIC 2.0 - New Instance Creator
  5. ------------------------------
  6.   [1.] iphone/activator_event
  7.   [2.] iphone/activator_listener
  8.   [3.] iphone/application_modern
  9.   [4.] iphone/application_swift
  10.   [5.] iphone/cydget
  11.   [6.] iphone/flipswitch_switch
  12.   [7.] iphone/framework
  13.   [8.] iphone/library
  14.   [9.] iphone/notification_center_widget
  15.   [10.] iphone/notification_center_widget-7up
  16.   [11.] iphone/preference_bundle_modern
  17.   [12.] iphone/theme
  18.   [13.] iphone/tool
  19.   [14.] iphone/tool_swift
  20.   [15.] iphone/tweak
  21.   [16.] iphone/tweak_with_simple_preferences
  22.   [17.] iphone/xpc_service
  23. Choose a Template (required): 15
  24. Project Name (required): Reach
  25. Package Name [com.yourcompany.reach]:
  26. Author/Maintainer Name [dopeboy]:
  27. [iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]:
  28. [iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]:
  29. Instantiating iphone/tweak in reach/...
  30. Done.
  31. dopeboy@dopeboy Desktop % cd reach
  32. dopeboy@dopeboy reach % make package
  33. > Making all for tweak Reach…
  34. ==> Preprocessing Tweak.x…
  35. ==> Preprocessing Tweak.x…
  36. ==> Preprocessing Tweak.x…
  37. ==> Compiling Tweak.x (arm64)
  38. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  39. 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);
  40.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  41. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  42. 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);
  43.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  44. Tweak.x:1:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  45. @interface SBReachabilityManager : NSObject
  46.                                    ^
  47. /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
  48. @interface NSObject <NSObject> {
  49.            ^
  50. Tweak.x:6:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  51. @interface SBReachabilityBackgroundView : UIView
  52. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  53. Tweak.x:7:31: error: unknown type name 'UIView'
  54. @property (nonatomic, retain) UIView *customView;
  55.                               ^
  56. Tweak.x:7:1: error: property with 'retain (or strong)' attribute must be of object type
  57. @property (nonatomic, retain) UIView *customView;
  58. ^
  59. Tweak.x:15:30: error: unknown type name 'UIView'
  60. __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); };
  61.                              ^
  62. Tweak.x:15:189: error: expected expression
  63. __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); };
  64.                                                                                                                                                                                             ^
  65. Tweak.x:15:181: error: use of undeclared identifier 'UIView'
  66. __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); };
  67.                                                                                                                                                                                     ^
  68. Tweak.x:16:170: error: unknown type name 'UIView'
  69. __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); }
  70.                                                                                                                                                                          ^
  71. Tweak.x:17:210: error: unknown type name 'CGRect'
  72. 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 {
  73.                                                                                                                                                                                                                  ^
  74. Tweak.x:28:25: error: use of undeclared identifier 'UIView'
  75.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  76.                         ^
  77. Tweak.x:29:20: error: member reference base type 'int *' is not a structure or union
  78.     self.customView.backgroundColor = UIColor.redColor;
  79.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  80. Tweak.x:29:39: error: use of undeclared identifier 'UIColor'
  81.     self.customView.backgroundColor = UIColor.redColor;
  82.                                       ^
  83. Tweak.x:30:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  84.     [self addSubview:self.customView];
  85.      ~~~~ ^~~~~~~~~~
  86. Tweak.x:94:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  87. {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); }} }
  88.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  89. Tweak.x:94:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  90. Tweak.x:94:1165: error: unknown type name 'UIView'
  91. {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); }} }
  92.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  93. Tweak.x:94:1400: error: unknown type name 'UIView'
  94. {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); }} }
  95.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  96. 18 errors generated.
  97. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.c2b01d78.o] Error 1
  98. rm /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.m
  99. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Reach.dylib] Error 2
  100. make[2]: *** Waiting for unfinished jobs....
  101. ==> Compiling Tweak.x (armv7)
  102. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  103. 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);
  104.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  105. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  106. 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);
  107.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  108. Tweak.x:1:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  109. @interface SBReachabilityManager : NSObject
  110.                                    ^
  111. /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
  112. @interface NSObject <NSObject> {
  113.            ^
  114. Tweak.x:6:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  115. @interface SBReachabilityBackgroundView : UIView
  116. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  117. Tweak.x:7:31: error: unknown type name 'UIView'
  118. @property (nonatomic, retain) UIView *customView;
  119.                               ^
  120. Tweak.x:7:1: error: property with 'retain (or strong)' attribute must be of object type
  121. @property (nonatomic, retain) UIView *customView;
  122. ^
  123. Tweak.x:15:30: error: unknown type name 'UIView'
  124. __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); };
  125.                              ^
  126. Tweak.x:15:189: error: expected expression
  127. __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); };
  128.                                                                                                                                                                                             ^
  129. Tweak.x:15:181: error: use of undeclared identifier 'UIView'
  130. __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); };
  131.                                                                                                                                                                                     ^
  132. Tweak.x:16:170: error: unknown type name 'UIView'
  133. __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); }
  134.                                                                                                                                                                          ^
  135. Tweak.x:17:210: error: unknown type name 'CGRect'
  136. 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 {
  137.                                                                                                                                                                                                                  ^
  138. Tweak.x:28:25: error: use of undeclared identifier 'UIView'
  139.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  140.                         ^
  141. Tweak.x:29:20: error: member reference base type 'int *' is not a structure or union
  142.     self.customView.backgroundColor = UIColor.redColor;
  143.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  144. Tweak.x:29:39: error: use of undeclared identifier 'UIColor'
  145.     self.customView.backgroundColor = UIColor.redColor;
  146.                                       ^
  147. Tweak.x:30:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  148.     [self addSubview:self.customView];
  149.      ~~~~ ^~~~~~~~~~
  150. Tweak.x:94:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  151. {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); }} }
  152.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  153. Tweak.x:94:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  154. Tweak.x:94:1165: error: unknown type name 'UIView'
  155. {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); }} }
  156.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  157. Tweak.x:94:1400: error: unknown type name 'UIView'
  158. {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); }} }
  159.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  160. 18 errors generated.
  161. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.68daf923.o] Error 1
  162. ==> Compiling Tweak.x (arm64e)
  163. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  164. 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);
  165.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  166. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  167. 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);
  168.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  169. Tweak.x:1:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  170. @interface SBReachabilityManager : NSObject
  171.                                    ^
  172. /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
  173. @interface NSObject <NSObject> {
  174.            ^
  175. Tweak.x:6:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  176. @interface SBReachabilityBackgroundView : UIView
  177. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  178. Tweak.x:7:31: error: unknown type name 'UIView'
  179. @property (nonatomic, retain) UIView *customView;
  180.                               ^
  181. Tweak.x:7:1: error: property with 'retain (or strong)' attribute must be of object type
  182. @property (nonatomic, retain) UIView *customView;
  183. ^
  184. rm /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.mTweak.x:15:30: error: unknown type name 'UIView'
  185. __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); };
  186.                              ^
  187. Tweak.x:15:189: error: expected expression
  188.  
  189. __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); };
  190.                                                                                                                                                                                             ^
  191. Tweak.x:15:181: error: use of undeclared identifier 'UIView'
  192. __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); };
  193.                                                                                                                                                                                     ^
  194. Tweak.x:16:170: error: unknown type name 'UIView'
  195. __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); }
  196.                                                                                                                                                                          ^
  197. Tweak.x:17:210: error: unknown type name 'CGRect'
  198. 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 {
  199.                                                                                                                                                                                                                  ^
  200. Tweak.x:28:25: error: use of undeclared identifier 'UIView'
  201.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  202.                         ^
  203. Tweak.x:29:20: error: member reference base type 'int *' is not a structure or union
  204.     self.customView.backgroundColor = UIColor.redColor;
  205.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  206. Tweak.x:29:39: error: use of undeclared identifier 'UIColor'
  207.     self.customView.backgroundColor = UIColor.redColor;
  208.                                       ^
  209. Tweak.x:30:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  210.     [self addSubview:self.customView];
  211.      ~~~~ ^~~~~~~~~~
  212. Tweak.x:94:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  213. {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); }} }
  214.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  215. Tweak.x:94:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  216. Tweak.x:94:1165: error: unknown type name 'UIView'
  217. {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); }} }
  218.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  219. Tweak.x:94:1400: error: unknown type name 'UIView'
  220. {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
  221.  _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$SBReachabilityBackgroundView, @selector(_setupCustomView), (IMP)&_logos_method$_ungrouped$SBReachabilityBackgroundView$_setupCustomView, _typeEncoding); }} }
  222.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  223. 18 errors generated.
  224. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.0089d4e7.o] Error 1
  225. rm /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.m
  226. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Reach.dylib] Error 2
  227. make[1]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
  228. make: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:116: Reach.all.tweak.variables] Error 2
  229. dopeboy@dopeboy reach % make package
  230. > Making all for tweak Reach…
  231. ==> Preprocessing Tweak.x…
  232. ==> Preprocessing Tweak.x…
  233. ==> Preprocessing Tweak.x…
  234. ==> Compiling Tweak.x (armv7)
  235. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  236. 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);
  237.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  238. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  239. 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);
  240.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  241. Tweak.x:1:1: error: unexpected '@' in program
  242. @include UIKit;
  243. ^
  244. Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  245. @interface SBReachabilityManager : NSObject
  246.                                    ^
  247. /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
  248. @interface NSObject <NSObject> {
  249.            ^
  250. Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  251. @interface SBReachabilityBackgroundView : UIView
  252. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  253. Tweak.x:8:31: error: unknown type name 'UIView'
  254. @property (nonatomic, retain) UIView *customView;
  255.                               ^
  256. Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
  257. @property (nonatomic, retain) UIView *customView;
  258. ^
  259. Tweak.x:16:30: error: unknown type name 'UIView'
  260. __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); };
  261.                              ^
  262. Tweak.x:16:189: error: expected expression
  263. __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); };
  264.                                                                                                                                                                                             ^
  265. Tweak.x:16:181: error: use of undeclared identifier 'UIView'
  266. __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); };
  267.                                                                                                                                                                                     ^
  268. Tweak.x:17:170: error: unknown type name 'UIView'
  269. __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); }
  270.                                                                                                                                                                          ^
  271. Tweak.x:18:210: error: unknown type name 'CGRect'
  272. 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 {
  273.                                                                                                                                                                                                                  ^
  274. Tweak.x:29:25: error: use of undeclared identifier 'UIView'
  275.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  276.                         ^
  277. Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
  278.     self.customView.backgroundColor = UIColor.redColor;
  279.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  280. Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
  281.     self.customView.backgroundColor = UIColor.redColor;
  282.                                       ^
  283. Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  284.     [self addSubview:self.customView];
  285.      ~~~~ ^~~~~~~~~~
  286. Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  287. {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); }} }
  288.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  289. Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  290. Tweak.x:95:1165: error: unknown type name 'UIView'
  291. {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); }} }
  292.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  293. Tweak.x:95:1400: error: unknown type name 'UIView'
  294. {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); }} }
  295.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  296. 19 errors generated.
  297. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.68daf923.o] Error 1
  298. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Reach.dylib] Error 2
  299. make[2]: *** Waiting for unfinished jobs....
  300. ==> Compiling Tweak.x (arm64)
  301. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  302. 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);
  303.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  304. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  305. 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);
  306.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  307. Tweak.x:1:1: error: unexpected '@' in program
  308. @include UIKit;
  309. ^
  310. Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  311. @interface SBReachabilityManager : NSObject
  312.                                    ^
  313. /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
  314. @interface NSObject <NSObject> {
  315.            ^
  316. Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  317. @interface SBReachabilityBackgroundView : UIView
  318. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  319. Tweak.x:8:31: error: unknown type name 'UIView'
  320. @property (nonatomic, retain) UIView *customView;
  321.                               ^
  322. Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
  323. @property (nonatomic, retain) UIView *customView;
  324. ^
  325. Tweak.x:16:30: error: unknown type name 'UIView'
  326. __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); };
  327.                              ^
  328. Tweak.x:16:189: error: expected expression
  329. __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); };
  330.                                                                                                                                                                                             ^
  331. Tweak.x:16:181: error: use of undeclared identifier 'UIView'
  332. __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); };
  333.                                                                                                                                                                                     ^
  334. Tweak.x:17:170: error: unknown type name 'UIView'
  335. __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); }
  336.                                                                                                                                                                          ^
  337. Tweak.x:18:210: error: unknown type name 'CGRect'
  338. 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 {
  339.                                                                                                                                                                                                                  ^
  340. Tweak.x:29:25: error: use of undeclared identifier 'UIView'
  341.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  342.                         ^
  343. Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
  344.     self.customView.backgroundColor = UIColor.redColor;
  345.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  346. Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
  347.     self.customView.backgroundColor = UIColor.redColor;
  348.                                       ^
  349. Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  350.     [self addSubview:self.customView];
  351.      ~~~~ ^~~~~~~~~~
  352. Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  353. {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); }} }
  354.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  355. Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  356. Tweak.x:95:1165: error: unknown type name 'UIView'
  357. {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); }} }
  358.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  359. Tweak.x:95:1400: error: unknown type name 'UIView'
  360. {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); }} }
  361.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  362. 19 errors generated.
  363. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.c2b01d78.o] Error 1
  364. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Reach.dylib] Error 2
  365. ==> Compiling Tweak.x (arm64e)
  366. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  367. 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);
  368.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  369. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  370. 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);
  371.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  372. Tweak.x:1:1: error: unexpected '@' in program
  373. @include UIKit;
  374. ^
  375. Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  376. @interface SBReachabilityManager : NSObject
  377.                                    ^
  378. /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
  379. @interface NSObject <NSObject> {
  380.            ^
  381. Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  382. @interface SBReachabilityBackgroundView : UIView
  383. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  384. Tweak.x:8:31: error: unknown type name 'UIView'
  385. @property (nonatomic, retain) UIView *customView;
  386.                               ^
  387. Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
  388. @property (nonatomic, retain) UIView *customView;
  389. ^
  390. Tweak.x:16:30: error: unknown type name 'UIView'
  391. __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); };
  392.                              ^
  393. Tweak.x:16:189: error: expected expression
  394. __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); };
  395.                                                                                                                                                                                             ^
  396. Tweak.x:16:181: error: use of undeclared identifier 'UIView'
  397. __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); };
  398.                                                                                                                                                                                     ^
  399. Tweak.x:17:170: error: unknown type name 'UIView'
  400. __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); }
  401.                                                                                                                                                                          ^
  402. Tweak.x:18:210: error: unknown type name 'CGRect'
  403. 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 {
  404.                                                                                                                                                                                                                  ^
  405. Tweak.x:29:25: error: use of undeclared identifier 'UIView'
  406.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  407.                         ^
  408. Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
  409.     self.customView.backgroundColor = UIColor.redColor;
  410.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  411. Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
  412.     self.customView.backgroundColor = UIColor.redColor;
  413.                                       ^
  414. Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  415.     [self addSubview:self.customView];
  416.      ~~~~ ^~~~~~~~~~
  417. Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  418. {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); }} }
  419.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  420. Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  421. Tweak.x:95:1165: error: unknown type name 'UIView'
  422. {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); }} }
  423.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  424. Tweak.x:95:1400: error: unknown type name 'UIView'
  425. {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); }} }
  426.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  427. 19 errors generated.
  428. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.0089d4e7.o] Error 1
  429. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Reach.dylib] Error 2
  430. make[1]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
  431. make: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:116: Reach.all.tweak.variables] Error 2
  432. dopeboy@dopeboy reach % clear
  433.  
  434. dopeboy@dopeboy reach % make package
  435. > Making all for tweak Reach…
  436. ==> Compiling Tweak.x (armv7)
  437. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  438. 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);
  439.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  440. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  441. 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);
  442.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  443. Tweak.x:1:1: error: unexpected '@' in program
  444. @include UIKit;
  445. ^
  446. Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  447. @interface SBReachabilityManager : NSObject
  448.                                    ^
  449. /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
  450. @interface NSObject <NSObject> {
  451.            ^
  452. Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  453. @interface SBReachabilityBackgroundView : UIView
  454. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  455. Tweak.x:8:31: error: unknown type name 'UIView'
  456. @property (nonatomic, retain) UIView *customView;
  457.                               ^
  458. Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
  459. @property (nonatomic, retain) UIView *customView;
  460. ^
  461. Tweak.x:16:30: error: unknown type name 'UIView'
  462. __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); };
  463.                              ^
  464. Tweak.x:16:189: error: expected expression
  465. __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); };
  466.                                                                                                                                                                                             ^
  467. Tweak.x:16:181: error: use of undeclared identifier 'UIView'
  468. __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); };
  469.                                                                                                                                                                                     ^
  470. Tweak.x:17:170: error: unknown type name 'UIView'
  471. __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); }
  472.                                                                                                                                                                          ^
  473. Tweak.x:18:210: error: unknown type name 'CGRect'
  474. 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 {
  475.                                                                                                                                                                                                                  ^
  476. Tweak.x:29:25: error: use of undeclared identifier 'UIView'
  477.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  478.                         ^
  479. Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
  480.     self.customView.backgroundColor = UIColor.redColor;
  481.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  482. Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
  483.     self.customView.backgroundColor = UIColor.redColor;
  484.                                       ^
  485. Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  486.     [self addSubview:self.customView];
  487.      ~~~~ ^~~~~~~~~~
  488. Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  489. {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); }} }
  490.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  491. Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  492. Tweak.x:95:1165: error: unknown type name 'UIView'
  493. {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); }} }
  494.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  495. Tweak.x:95:1400: error: unknown type name 'UIView'
  496. {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); }} }
  497.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  498. 19 errors generated.
  499. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Tweak.x.68daf923.o] Error 1
  500. ==> Compiling Tweak.x (arm64e)
  501. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  502. 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);
  503.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  504. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  505. 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);
  506.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  507. Tweak.x:1:1: error: unexpected '@' in program
  508. @include UIKit;
  509. ^
  510. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/armv7/Reach.dylib] Error 2
  511. Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  512. @interface SBReachabilityManager : NSObject
  513.                                    ^
  514. /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
  515. @interface NSObject <NSObject> {
  516.            ^
  517. Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  518. @interface SBReachabilityBackgroundView : UIView
  519. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  520. Tweak.x:8:31: error: unknown type name 'UIView'
  521. @property (nonatomic, retain) UIView *customView;
  522.                               ^
  523. Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
  524. @property (nonatomic, retain) UIView *customView;
  525. ^
  526. Tweak.x:16:30: error: unknown type name 'UIView'
  527. __attribute__((used)) staticmake[2]: *** Waiting for unfinished jobs....
  528.  UIView * _logos_property$_ungrouped$SBReachabilityBackgroundView$customView(SBReachabilityBackgroundView * __unused self, SEL __unused _cmd) { return (UIView *)objc_getAssociatedObject(self, (void *)_logos_property$_ungrouped$SBReachabilityBackgroundView$customView); };
  529.                              ^
  530. Tweak.x:16:189: error: expected expression
  531. __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); };
  532.                                                                                                                                                                                             ^
  533. Tweak.x:16:181: error: use of undeclared identifier 'UIView'
  534. __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); };
  535.                                                                                                                                                                                     ^
  536. Tweak.x:17:170: error: unknown type name 'UIView'
  537. __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); }
  538.                                                                                                                                                                          ^
  539. Tweak.x:18:210: error: unknown type name 'CGRect'
  540. 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 {
  541.                                                                                                                                                                                                                  ^
  542. Tweak.x:29:25: error: use of undeclared identifier 'UIView'
  543.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  544.                         ^
  545. Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
  546.     self.customView.backgroundColor = UIColor.redColor;
  547.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  548. Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
  549.     self.customView.backgroundColor = UIColor.redColor;
  550.                                       ^
  551. Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  552.     [self addSubview:self.customView];
  553.      ~~~~ ^~~~~~~~~~
  554. Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  555. {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); }} }
  556.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  557. Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  558. Tweak.x:95:1165: error: unknown type name 'UIView'
  559. {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); }} }
  560.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  561. Tweak.x:95:1400: error: unknown type name 'UIView'
  562. {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); }} }
  563.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  564. 19 errors generated.
  565. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Tweak.x.0089d4e7.o] Error 1
  566. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64e/Reach.dylib] Error 2
  567. ==> Compiling Tweak.x (arm64)
  568. Tweak.x:23:815: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  569. 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);
  570.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  571. Tweak.x:23:1039: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
  572. 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);
  573.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^
  574. Tweak.x:1:1: error: unexpected '@' in program
  575. @include UIKit;
  576. ^
  577. Tweak.x:2:36: error: declaration of 'NSObject' must be imported from module 'ObjectiveC.NSObject' before it is required
  578. @interface SBReachabilityManager : NSObject
  579.                                    ^
  580. /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
  581. @interface NSObject <NSObject> {
  582.            ^
  583. Tweak.x:7:43: error: cannot find interface declaration for 'UIView', superclass of 'SBReachabilityBackgroundView'
  584. @interface SBReachabilityBackgroundView : UIView
  585. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
  586. Tweak.x:8:31: error: unknown type name 'UIView'
  587. @property (nonatomic, retain) UIView *customView;
  588.                               ^
  589. Tweak.x:8:1: error: property with 'retain (or strong)' attribute must be of object type
  590. @property (nonatomic, retain) UIView *customView;
  591. ^
  592. Tweak.x:16:30: error: unknown type name 'UIView'
  593. __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); };
  594.                              ^
  595. Tweak.x:16:189: error: expected expression
  596. __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); };
  597.                                                                                                                                                                                             ^
  598. Tweak.x:16:181: error: use of undeclared identifier 'UIView'
  599. __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); };
  600.                                                                                                                                                                                     ^
  601. Tweak.x:17:170: error: unknown type name 'UIView'
  602. __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); }
  603.                                                                                                                                                                          ^
  604. Tweak.x:18:210: error: unknown type name 'CGRect'
  605. 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 {
  606.                                                                                                                                                                                                                  ^
  607. Tweak.x:29:25: error: use of undeclared identifier 'UIView'
  608.     self.customView = [[UIView alloc] initWithFrame:CGRectMake(20, -50, 20, 20)];
  609.                         ^
  610. Tweak.x:30:20: error: member reference base type 'int *' is not a structure or union
  611.     self.customView.backgroundColor = UIColor.redColor;
  612.     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  613. Tweak.x:30:39: error: use of undeclared identifier 'UIColor'
  614.     self.customView.backgroundColor = UIColor.redColor;
  615.                                       ^
  616. Tweak.x:31:11: error: no visible @interface for 'SBReachabilityBackgroundView' declares the selector 'addSubview:'
  617.     [self addSubview:self.customView];
  618.      ~~~~ ^~~~~~~~~~
  619. Tweak.x:95:1126: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  620. {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); }} }
  621.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
  622. Tweak.x:95:1126: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
  623. Tweak.x:95:1165: error: unknown type name 'UIView'
  624. {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); }} }
  625.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
  626. Tweak.x:95:1400: error: unknown type name 'UIView'
  627. {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); }} }
  628.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
  629. 19 errors generated.
  630. make[3]: *** [/Users/dopeboy/theos/makefiles/instance/rules.mk:262: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Tweak.x.c2b01d78.o] Error 1
  631. make[2]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:52: /Users/dopeboy/Desktop/reach/.theos/obj/debug/arm64/Reach.dylib] Error 2
  632. make[1]: *** [/Users/dopeboy/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
  633. make: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:116: Reach.all.tweak.variables] Error 2
  634. dopeboy@dopeboy reach %
  635.  
Advertisement
Add Comment
Please, Sign In to add comment