Jump to content

Theos error: "import" unknown type


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

Posted

import <UIKit/UIKit.h>

%hook LikeTaskDB

 

- (BOOL)canLikeWithTime:(double)fp8 {

return true(9999);

}

%end

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Swag hack" message:@"Hacked by mehdi visit more at ios gods.com" delegate:nil cancelButtonTitle:@"Thanx" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

This is my tweak.xml but when i want to compile it tells me that he doesnt know "import"unknown type :(

  • Solution
Posted

It's

 

 

#import <UIKit/UIKit.h>

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