Jump to content

Mobile terminal errors while compiling


Go to solution Solved by Diversityy,

2 posts in this topic

Recommended Posts

Posted (edited)

I'm making getting this errors while trying to compire

 

Tweak.xm:11:17: error: expected selector for

Objective-C method

-(unsigned int) {

~~~~~~~~~~~~~~~~^

Tweak.xm:33:20: error: expected method body

#line 34 "Tweak.xm"

^

2 errors generated.

make[2]: *** [obj/Tweak.xm.91ea0510.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [lifeTime.all.tweak.variables] Error 2

iPhone:/var/mobile/lifetime root#

 

THIS IS MY TWEAK.xm

 

%hook AETNVideoSplashScreenViewController

-(void) viewDidLoad {

}

-(bool) isFinished {

return true;

}

 

%end

 

%hook FWAd

-(unsigned int) {

return 0;

}

 

%end

 

%hook AWEDAsset

-(id) adCuePoints {

return nil;

}

 

%end

 

#include <UIKit/UIKit.h>

 

%hook AETNAppDelegate

-(void)applicationDidBecomeActive:(id)argument {

 

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"The Hacked!" message:@"The Cheats by patricktph for IOSGods.com" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

N

I'm making getting this errors while trying to compire

Tweak.xm:11:17: error: expected selector for

Objective-C method

-(unsigned int) {

~~~~~~~~~~~~~~~~^

Tweak.xm:33:20: error: expected method body

#line 34 "Tweak.xm"

^

2 errors generated.

make[2]: *** [obj/Tweak.xm.91ea0510.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [lifeTime.all.tweak.variables] Error 2

iPhone:/var/mobile/lifetime root#

THIS IS MY TWEAK.xm

%hook AETNVideoSplashScreenViewController

-(void) viewDidLoad {

}

-(bool) isFinished {

return true;

}

%end

%hook FWAd

-(unsigned int) {

return 0;

}

%end

%hook AWEDAsset

-(id) adCuePoints {

return nil;

}

%end

#include <UIKit/UIKit.h>

%hook AETNAppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"The Hacked!" message:@"The Cheats by patricktph for IOSGods.com" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

NVM I FIXED IT

This Is The Solution

 

%hook AETNVideoSplashScreenViewController

-(void) viewDidLoad {

}

-(bool) isFinished {

return true;

}

 

%end

 

%hook FWAd

-(unsigned int) addl {

return 0;

}

 

%end

 

%hook AWEDAsset

-(id) adCuePoints {

return nil;

}

 

%end

 

#include <UIKit/UIKit.h>

 

%hook AETNAppDelegate

-(void)applicationDidBecomeActive:(id)argument {

 

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"The Hacked!" message:@"The Cheats by patricktph for IOSGods.com" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

Updated by Patricktph

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