Jump to content

{theos} - error: %orig found outside of hook or subclass.


Go to solution Solved by castix,

3 posts in this topic

Recommended Posts

Posted

Hey there :)

 

I got a error while making a tweak,

'Tweak.xm:167: error: %orig found outside of hook or subclass

make [2]: *** [obj.tweak.xm.3f93c70d.o] error 22

make [1] *** [internal-libary-all_] error 2

make: *** br.all.tweak.variables] error 2

 

so, I checked line 167 and this is what it had:

 

'&hook WorldCupBike

 
-(BOOL)complete {
if(GetPrefBool(@"k36")) {
return true;
}
return %orig;  -------> this is line 167
}
 
the other errors didn't I understand,
 
any help ?
 
Thanks ;)

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