Jump to content

Error Compiling Tweak


Go to solution Solved by mitosis,

2 posts in this topic

Recommended Posts

Posted

I made my first tweak, while compiling in mobile terminal with 'make package' I get the following error:

Tweak.xm:l:l: error: missing context for method declaration

-(idinAppCash {

^

 

The code is as follows

-(id)inAppCash {
return [NSNumber numberWithInteger:100000000];
}

Thanks for the help

  • Solution
Posted

Before everything did you hook the thing, and

After you ended everything did you put %end

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