Skip to content
Guest Big Announcement

Mobile terminal errors while compiling

Featured Replies

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

Solved by Diversityy

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.