Friday, 21 February 2020

Help me with jailbreaking develop

Code %hook SpringBoard -(void)applicationDidFinishLaunching:(id)arg1 { //not a real method its just kinda what i remember it looked like, should be in one of the tutorials you went through %orig;//tells that the method you hooked to continue running normally (we don't want to break anything) UIAlertController * alert= //blah blah find uialertcontrollercode online and paste your desired alert, [self presentViewController:alert animated:YES completion:nil]; //so it shows your alert code } %end //close up your hook Error is ==> Compiling Tweak.xm (arm64)… Tweak.xm:15:9: error: 'release' is unavailable: not available in automatic reference counting mode [alert release]; ^ /opt/theos/sdks/iPhoneOS9.3.sdk/usr/include/objc/NSObject.h:37:1: note: 'release' has been explicitly marked unavailable here - (oneway void)release OBJC_ARC_UNAVAILABLE; ^ Tweak.xm:15:9: error: ARC forbids explicit message send of 'release' [alert release]; ~~~~~ ^

from iOSGods RSS Feed https://ift.tt/2VesTN1

No comments:

Post a Comment