Jump to content

Method hooking doesn't work


Go to solution Solved by castix,

5 posts in this topic

Recommended Posts

Posted

This method can achieve purpose in flex.

 

ZwQL3q.png

 

 

But when i put it into the Tweak.xm,

 

 

yVx7Bw.png

 

 

make and install it, it didn't work,have no effect(i have restart my device). It is so strange :wallbash:

 

 

VmdRu2.png

 

 

 

I think my Bundle Identifier is true, i have tried another  app's Method hooking ,it can work will.

 

 

WHOOwy.pngSQzo2e.png

 

My device is iphone6 with ios8.1.

What  should i do to solve the problem?  appreciate  :turned: 

Posted

Since it's flex

 

You need to follow what Castix's post in order to make it work on your device.

iPhone 6 is arm64

Posted (edited)

Add 

ARCHS = armv7 arm64

to your Makefile

  @@castix   Oh my god,it works! thank you so much! xD    but why it cause this, in what case i should add  this code?

and as you can see i am a beginner ,can you recommend me some tutorials ? iOSGods have so many tutorials,it's strong but it also make me don't know where to get start.

My problem solving,Thank you !  xD   @@Amuyea

Updated by FlyingFishF
Posted

  @@castix   Oh my god,it works! thank you so much! xD    but why it cause this, in what case i should add  this code?

and as you can see i am a beginner ,can you recommend me some tutorials ? iOSGods have so many tutorials,it's strong but it also make me don't know where to get start.

My problem solving,Thank you !   xD   @@Amuyea

 

iPhone 6 is arm64

Basically, iPhone 5s to iPhone 7 are arm64

 

Your tweak was saying to make it work for arm32 only.

 

Mostly Flex tweaks. If you are doing IDA, it's better with autolipo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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