Jump to content

 Something great is coming! 🚀

Stay tuned for the big reveal happening here on iOSGods on the 17th of December!

The countdown has finished!

QQRK

Senior Member
  • Posts

    322
  • Joined

  • Last visited

Everything posted by QQRK

  1. How to hook the method with void and bool?I write like this, but I don't know why can't work. #include <substrate.h> %hook UserProfessionObj -(void) setRed:(BOOL)a { return %orig(a); a = TRUE; } %end <dict> <key>methodObjc</key> <dict> <key>className</key> <string>UserProfessionObj</string> <key>displayName</key> <string>-(void) setRed:(BOOL)</string> <key>prefix</key> <string>-</string> <key>selector</key> <string>setRed:</string> <key>typeEncoding</key> <string>v12@0:4c8</string> </dict> <key>name</key> <string>Unit for -(void) setRed:(BOOL)</string> <key>overrides</key> <array> <dict> <key>argument</key> <integer>1</integer> <key>type</key> <dict> <key>subtype</key> <integer>0</integer> <key>type</key> <integer>5</integer> </dict> <key>value</key> <dict> <key>type</key> <integer>5</integer> <key>value</key> <true/> </dict> </dict> </array> this is in flex method,please help me!!
  2. good job. iwill try it!????
  3. gg it works!!!thank you so much!!+1like to you:)
  4. thanks thanks for you help! i will try,thank you!
  5. /var/mobile/a/b/d/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/a/b/d/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak d... Preprocessing Tweak.xm... Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Compiling Tweak.xm... Linking tweak d... clang: error: unable to execute command: Bus error: 10 clang: error: linker command failed due to signal (use -v to see invocation) make[2]: *** [obj/d.dylib.64873355.unsigned] Error 254 make[1]: *** [internal-library-all_] Error 2 make: *** [d.all.tweak.variables] Error 2 /var/mobile/a/b/d/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/a/b/d/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak d... Linking tweak d... clang: error: unable to execute command: Bus error: 10 clang: error: linker command failed due to signal (use -v to see invocation) make[2]: *** [obj/d.dylib.64873355.unsigned] Error 254 make[1]: *** [internal-library-all_] Error 2 make: *** [d.all.tweak.variables] Error 2
  6. please help me /var/mobile/a/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/a/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak a... Linking tweak a... clang: error: unable to execute command: Bus error: 10 clang: error: linker command failed due to signal (use -v to see invocation) make[2]: *** [obj/a.dylib.64873355.unsigned] Error 254 make[1]: *** [internal-library-all_] Error 2 make: *** [a.all.tweak.variables] Error 2
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines