Hey. I have a problem when compile the my tweak. I think it cause calling getPrefBool But I don't know what should I do:/ I tried to add ARCHS = armv7 arm64 to Makefile But still get error Please help me .. Error mafu:~/mcohack root# make package install > Making all for tweak mcohack… ==> Preprocessing Tweak.x… ==> Preprocessing Tweak.x… ==> Compiling Tweak.x (arm64)… ==> Compiling Tweak.x (armv7)… ==> Linking tweak mcohack (armv7)… Undefined symbols for architecture armv7: "_GetPrefBool", referenced from: __logos_method$_ungrouped$AppController$applicationDidBecomeActive$ in Tweak.x.ad486fbc.o ld: symbol(s) not found for architecture armv7 Not signing file clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [/var/root/theos/makefiles/instance/library.mk:33: /var/root/mcohack/.theos/obj/debug/armv7/mcohack.dylib] Error 1 ==> Linking tweak mcohack (arm64)… Undefined symbols for architecture arm64: "_GetPrefBool", referenced from: __logos_method$_ungrouped$AppController$applicationDidBecomeActive$ in Tweak.x.86cf346b.o ld: symbol(s) not found for architecture arm64 Not signing file clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [/var/root/theos/makefiles/instance/library.mk:33: /var/root/mcohack/.theos/obj/debug/arm64/mcohack.dylib] Error 1 make[2]: *** [/var/root/theos/makefiles/instance/library.mk:33: /var/root/mcohack/.theos/obj/debug/arm64/mcohack.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/var/root/theos/makefiles/instance/library.mk:33: /var/root/mcohack/.theos/obj/debug/armv7/mcohack.dylib] Error 2 make[1]: *** [/var/root/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2 make: *** [/var/root/theos/makefiles/master/rules.mk:111: mcohack.all.tweak.variables] Error 2 Tweak.x #define PLIST_PATH @"/var/mobile/Library/Preferences/com.zorba.prefbundle.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook AppController -(void)applicationDidBecomeActive:(id)argument { if(GetPrefBool(@"DetectOpened")) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Detected App opened!" delegate:nil cancelButtonTitle:@"Continue" otherButtonTitles:nil]; [alert show]; } else { return %orig; } } %end prefbundle's plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://ift.tt/vvUEPL"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>Settings</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.zorba.prefbundle</string> <key>key</key> <string>DetectOpened</string> <key>label</key> <string>DetectOpened</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>Contact</string> </dict> <dict> <key>cell</key> <string>PSButtonCell</string> <key>label</key> <string>Twitter</string> <key>action</key> <string>OpenTwitter</string> </dict> </array> <key>title</key> <string>mcohack</string> </dict> </plist> Theos Version: Latest Version got from https://ift.tt/1oESXgV Device Info : iPhone8 / IOS13.3.1 / jailbroken
from iOSGods RSS Feed https://ift.tt/2UMqCH4
Subscribe to:
Post Comments (Atom)
-
Yubo Yoti bypass Requirements: Yubo app Jailbroken iPhone Apps Manager Brain Steps: Open Apps Manager Locate Yubo in Apps Manager and open i...
-
Modded/Hacked App: Simply Guitar by JoyTunes by JoyTunes Bundle ID: com.joytunes.SimplyGuitar iTunes Store Link: https://ift.tt/2ANDd7d Mod ...
-
I don't know how this happened, i was trying to install Kinemaster modded version on my iPhone 7 running iOS 14.0.1, maybe it's beca...
-
Hey everyone I am running Ipad 6th generation running ios 14.0 32 gb capacity with 19.1 gb left I used sideloadly yesterday to install an ap...
-
Hello! I am using this for practice using a dummy Snapchat account I've made and created a My Eyes Only tab. Now, if you don't know ...
-
Hello, does anyone know why I cannot use my Apple password or password from apple servers? Sideloadly version 0.16.1 Checking iOS version......
-
As the title says upon installing Last Day on Earth with sideloadly i get this error ERROR: Guru Meditation 6020bc@89:f11511 Call to np_clie...
-
Hello friends, So I have a problem with Sideloadly, I installed it on my (32x bit Windows 7) laptop (SONY) and tried opening it, but when I ...
-
Hello, I am currently running with an iPhone XR on IOS 12.2. I am trying to install ipa files through cydia impactor but keep receiving this...
-
Netflix is now offering users a chance to win a free subscription for 83 years. The company calls it the “immortal” Netflix account. T...
Same here
ReplyDelete