Jump to content

QQRK

Senior Member
  • Posts

    322
  • Joined

  • Last visited

Everything posted by QQRK

  1. Ok,i mean what should I write after "return"? I am using theos and flex.
  2. here come another question, how to write a return? should i change id to null and int to 1 ? (see the picture below the link) http://www.jnbhgbox.org/forum.php?mod=attachment&aid=MjYxNHxmZTA5ZGRhY3wxNDQ4MTY5MTMwfDE5fDUyOQ%3D%3D&nothumb=yes
  3. thanks guys, i already fixed it. love you guys!!!!
  4. I want to use flex to build function,then writing a tweak,but I don't actually know the function such as -(void) setRed:(BOOL).Furthermore how to make bool active?@_@
  5. 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!!
  6. good job. iwill try it!????
  7. gg it works!!!thank you so much!!+1like to you:)
  8. thanks thanks for you help! i will try,thank you!
  9. /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
  10. 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