I was working on a tweak and everything was going fine, but suddenly the app I was hooking into started giving a ton of __NSAutoreleaseNoPool() errors and crashing. Ive removed the tweak, deleted and reinstalled the app, and restarted the device, but I keep getting the same error. Anyone know how to fix this?
This is the code: #import
@interface JMOutlineViewController : UIViewController
@end
@interface PostsViewController : JMOutlineViewController
-(void)hideAll;
@end
%hook PostsViewController
-(void)hideAll {
if ([self.title isEqual:@"Hidden"]) {
NSLog(@"we are in the hidden tab");
} else {
%orig;
}
}
%end