我正在做一個調整,一切都很順利,但突然我掛鉤的應用程序開始發出大量__NSAutoreleaseNoPool()錯誤並崩潰。我刪除了調整,刪除並重新安裝應用程序,並重新啓動設備,但我一直得到相同的錯誤。有人知道怎麼修這個東西嗎?Theos tweak caused __NSAutoreleaseNoPool()crash
這是代碼: #進口
@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
返回%orig不正確,當你掛鉤的方法返回void。 –
我修復了它,儘管現在應用程序不起作用,但它對我來說毫無用處 – user2272641