Jump to content

Ughhh, compiling tweak error -_-


Go to solution Solved by Amuyea,

12 posts in this topic

Recommended Posts

Posted

Right guys, I'm tryna compile a tweak & boom, this is the error I get:

 

image.png

 

 

 

Any way to resolve this without removing the hooked functions? :/

Posted

show your tweak.xm bb

#include <substrate.h>
 
%hook AppDelegate
 
- (void)applicationDidBecomeActive:(id)application {
    NSUserDefaults *validate = [NSUserDefaults standardUserDefaults];
    NSString *alreadyRun = @"already_run";
    if ([validate boolForKey:alreadyRun])  
    return;
    [validate setBool:YES forKey:alreadyRun];
    UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Topface VIP Hack!"
    message:@"VIP Hack made by Joka on iOSGods. Enjoy! 😎" delegate:nil cancelButtonTitle:@"Thank you!"
    otherButtonTitles:nil];
    [alert show];
    [alert release];
}
%end
 
%hook UserOptionsInput
-(bool) unlockAllForPremium {
return TRUE;
}
%end
 
%hook UserOptionsInput
-(void) setUnlockAllForPremium:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end
 
%hook TopFaceApp.UserSettings
-(bool) unlockAllForPremium {
return TRUE;
}
%end
 
%hook TopFaceApp.UserSettings
-(void) setUnlockAllForPremium:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end
 
%hook UserInfo
-(bool) premium {
return TRUE;
}
%end
 
%hook UserInfo
-(void) setPremium:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end
 
%hook CSComScore
+(bool) isJailbroken {
return TRUE;
}
%end
 
%hook CSCore
-(bool) isJailBroken {
return TRUE;
}
%end
 
%hook CBJBroken
+(bool) isDeviceJailbroken {
return TRUE;
}
%end
 
%hook GADDevice
-(bool) jailbroken {
return TRUE;
}
%end
 
%hook UnityAdsDevice
+(bool) isJailbroken {
return TRUE;
}
%end
 
%hook InputMessage
-(bool) premium {
return TRUE;
}
%end
 
%hook PremiumMessages
-(bool) enabled {
return TRUE;
}
%end
 
%hook TopFaceApp.PremiumMessagesDefault
-(bool) enabled {
return TRUE;
}
%end
 
%hook UserInfo
-(void) setBanned:(bool)arg1 {
return %orig;
}
%end
 
%hook UserInfo
-(bool) banned {
return %orig;
}
%end
 
%hook TopFaceApp.TrialVipPopupViewController
-(void) purchaseCompletedWithSuccess:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end
 
%hook BuyVC
-(void) purchaseCompletedWithSuccess:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end
 
%hook BuyVIPViewController
-(void) purchaseCompletedWithSuccess:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end
 
%hook DatingPopupManager
-(bool) shouldShowTrialVipPopup {
return TRUE;
}
%end
 
%hook Purchases
-(id) vipProducts {
return @"Yes";
}
%end
 
%hook BuyVIPViewController
-(void) fillVipCapabilities {
return %orig;
}
%end
 
%hook GADTiming
-(bool) isActive {
return %orig;
}
%end
Posted

you are trying to do something like this in your code somewhere:

 

something.UserSettings

 

find the code that says that and fix it

ohhhh you'll won't be able to hook a class with a name like that. You also can't hook classes called "Level" for some reason

 

there's no fix

Posted

you are trying to do something like this in your code somewhere:

 

something.UserSettings

 

find the code that says that and fix it

ohhhh you'll won't be able to hook a class with a name like that. You also can't hook classes called "Level" for some reason

 

there's no fix

So I can't fix it?

  • Solution
Posted

There is no fix for something like "TopFaceApp.TrialVipPopupViewController"

 

Trust me, I faced with this problem before xD

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
  • Our picks

    • Piggy Land 3D v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Piggy Land 3D v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Jailed ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
      • 1 reply
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Cheats ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
      • 0 replies
    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
      • 3 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
      • 3 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
      • 10 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
      • 0 replies
    • Bullet Boy v41 [ +1 Jailed ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
      • 5 replies
×
  • 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