Jump to content

App Delegate Theos Error iOS 11.2.6


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted (edited)

Hello, I got this error when I was trying to make a package for a tweak in Theos iOS 11.2.6:

iPad:/var/mobile root# cd /var/mobile/hotspothack                                                                                            

iPad:/var/mobile/hotspothack root# make package                                                                                              

> Making all for tweak HotspotHack…                                                                                                          

==> Compiling Tweak.xm (arm64)…                                                                                                              

Tweak.xm:44:6: error: receiver type 'AppDelegate' for instance message is a forward declaration                                              

    [self presentViewController:alert animated:YES completion:nil];                                                                          

     ^~~~                                                                                                                                    

Tweak.xm:30:8: note: forward declaration of class here                                                                                       

@class AppDelegate; @class AFUserAccount;                                                                                                    

       ^                                                                                                                                     

1 error generated.                                                                                                                           

make[3]: *** [/var/theos/makefiles/instance/rules.mk:246: /var/mobile/hotspothack/.theos/obj/debug/arm64/Tweak.xm.12ce51a7.o] Error 1        

==> Compiling Tweak.xm (armv7)…                                                                                                              

Tweak.xm:44:6: error: receiver type 'AppDelegate' for instance message is a forward declaration                                              

    [self presentViewController:alert animated:YES completion:nil];                                                                          

     ^~~~                                                                                                                                    

Tweak.xm:30:8: note: forward declaration of class here                                                                                       

@class AppDelegate; @class AFUserAccount;                                                                                                    

       ^                                                                                                                                     

1 error generated.                                                                                                                           

make[3]: **make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/hotspothack/.theos/obj/debug/arm64/HotspotHack.dylib] Error

2                                                                                                                                            

make[2]: *** Waiting for unfinished jobs....                                                                                                 

* [/var/theos/makefiles/instance/rules.mk:246: /var/mobile/hotspothack/.theos/obj/debug/armv7/Tweak.xm.469337b3.o] Error 1                   

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/hotspothack/.theos/obj/debug/armv7/HotspotHack.dylib] Error 2         

make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2                                                    

make: *** [/var/theos/makefiles/master/rules.mk:123: HotspotHack.all.tweak.variables] Error 2                                                

iPad:/var/mobile/hotspothack root#

                                                                                                         

Tweak.xm:

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

#import <substrate.h>

/* Code Injection Example

More CSCI examples can be found here: http://iosgods.com/forum/48-coding-center/

*/

#include “writeData.h”

 

%hook AFUserAccount

-(bool) isElite {

return TRUE;

}

%end

 

%hook AFUserAccount

-(void) setIsElite:(bool)arg1 {

arg1 = TRUE;

%orig(arg1);

}

%end

 

 

%hook AppDelegate

 

- (void)applicationDidFinishLaunching:(id)arg1 {

 

    %orig;

 

    UIAlertController * alert =   [UIAlertController

    alertControllerWithTitle:@"Hotspot VPN Tweak"

    message:@"Hack Successfully Installed"

    preferredStyle:UIAlertControllerStyleAlert];

 

    UIAlertAction * ok = [UIAlertAction

    actionWithTitle:@"Thank You!"

    style:UIAlertActionStyleDefault

    handler:^(UIAlertAction * action)

    {

        [alert dismissViewControllerAnimated:YES completion:nil];

    }];

 

    [alert addAction:ok];

 

    [self presentViewController:alert animated:YES completion:nil];

}

 

%end

 

Updated by The Epic Gamer
Posted

Please read our "How to Properly Post a Support Topic" here: https://iosgods.com/topic/49670-read-how-to-properly-post-a-support-topic/

Posted
  On 7/16/2018 at 10:09 PM, DiDA said:

Please read our "How to Properly Post a Support Topic" here: https://iosgods.com/topic/49670-read-how-to-properly-post-a-support-topic/

Expand  

Ok, I edited the post, is it good now?

Posted
  On 7/16/2018 at 11:32 PM, The Epic Gamer said:

Ok, I edited the post, is it good now?

Expand  

Not really, it's still missing points from the properly posting a support topic post.

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

    • Loot Heroes v1.9.3 +28 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Everything -> Currencies, Hero Cards, Hero Skill Points will all freeze.
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - No Attack Delay
      - All Critical Hits
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Guild Name Filter
      - No Dash Cooldown
      - Unlimited Boosters
      - Auto Play
      - No Camp Upgrade Cost
      - Unlimited Bolts
      - No Ads

      VIP
      - Unlimited Everything -> Currencies, Hero Cards, Hero Skill Points will all increase instead of decrease.
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Cards -> Earn some.
      - Unlimited Hero Skill Points -> Earn some.
      - Trophy Modifier -> Earn or lose some to stick to the leaderboard.
      - Guild Score Modifier -> Earn some.
      - Unlimited Event Score -> Earn some.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 158 replies
    • Loot Heroes v1.9.3 +28 Cheats [ Unlimited Everything ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Everything -> Currencies, Hero Cards, Hero Skill Points will all freeze.
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - No Attack Delay
      - All Critical Hits
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Guild Name Filter
      - No Dash Cooldown
      - Unlimited Boosters
      - Auto Play
      - No Camp Upgrade Cost
      - Unlimited Bolts
      - No Ads

      VIP
      - Unlimited Everything -> Currencies, Hero Cards, Hero Skill Points will all increase instead of decrease.
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Cards -> Earn some.
      - Unlimited Hero Skill Points -> Earn some.
      - Trophy Modifier -> Earn or lose some to stick to the leaderboard.
      - Guild Score Modifier -> Earn some.
      - Unlimited Event Score -> Earn some.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 313 replies
    • XP Hero v12.0.0 [+3 Cheats]
      Modded/Hacked App: XP Hero By Supercent Inc.
      Bundle ID: io.supercent.weaponrpg
      iTunes Store Link: https://apps.apple.com/us/app/xp-hero/id6740618570?uo=4



      🤩 Hack Features

      - Add Currency (Enable and You'll Recieve All Currency)
      - Add Xp
      - Enemy Can't Attack
       
        • Winner
        • Like
      • 12 replies
    • XP Hero v12.0.0 [+3 Jailed Cheats]
      Modded/Hacked App: XP Hero By Supercent Inc.
      Bundle ID: io.supercent.weaponrpg
      iTunes Store Link: https://apps.apple.com/us/app/xp-hero/id6740618570?uo=4



      🤩 Hack Features

      - Add Currency (Enable and You'll Recieve All Currency)
      - Add Xp
      - Enemy Can't Attack
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 15 replies
    • Hex Warriors v2.4.7 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4


       

      🤩 Hack Features

      Cheat Menu (Currency, Auto Win, Cards and more)
        • Like
      • 17 replies
    • Hex Warriors v2.4.7 Cheat Menu [+10 Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4



      🤩 Hack Features

      - Cheat Menu (Currency, Auto Win, Cards and more)
        • Winner
        • Like
      • 12 replies
    • Rise of Monsters v24 [+2 Jailed Cheats]
      Modded/Hacked App: Rise of Monsters By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.rom
      App Store Link: https://apps.apple.com/us/app/rise-of-monsters/id6738032041?uo=4



      🤩 Hack Features

      - Never Die
      - No Skill CD
        • Agree
        • Winner
        • Like
      • 14 replies
    • Rise of Monsters v24 [+2 Cheats]
      Modded/Hacked App: Rise of Monsters By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.rom
      App Store Link: https://apps.apple.com/us/app/rise-of-monsters/id6738032041?uo=4



      🤩 Hack Features

      - Never Die
      - No Skill CD
       
        • Haha
        • Thanks
        • Winner
      • 10 replies
    • Flambé: Merge and Cook v1.21.1 [+2 Jailed Cheats]
      Modded/Hacked App: Flambé: Merge and Cook By Microfun Limited
      Bundle ID: com.mf.cola
      App Store Link: https://apps.apple.com/us/app/flamb%C3%A9-merge-and-cook/id6618142292?uo=4



      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency (Gold, Gem and Skip Ticket)
        • Agree
        • Winner
        • Like
      • 4 replies
    • Flambé: Merge and Cook v1.21.1 [+2 Cheats]
      Modded/Hacked App: Flambé: Merge and Cook By Microfun Limited
      Bundle ID: com.mf.cola
      App Store Link: https://apps.apple.com/us/app/flamb%C3%A9-merge-and-cook/id6618142292?uo=4

       

      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency (Gold, Gem and Skip Ticket)
       
        • Informative
        • Winner
        • Like
      • 6 replies
    • Survival War: Adventure RPG v2.3.7 Debug Menu [+10 Cheats]
      Modded/Hacked App: Survival War: Adventure RPG By Gamee Joint Stock Company
      Bundle ID: com.gamee.survival.war.adventure.rpg
      App Store Link: https://apps.apple.com/us/app/survival-war-adventure-rpg/id6745683917?uo=4



      🤩 Hack Features

      - Debug Menu
       
        • Thanks
        • Winner
        • Like
      • 10 replies
    • Survival War: Adventure RPG v2.3.7 Debug Menu [+10 Jailed Cheats]
      Modded/Hacked App: Survival War: Adventure RPG By Gamee Joint Stock Company
      Bundle ID: com.gamee.survival.war.adventure.rpg
      App Store Link: https://apps.apple.com/us/app/survival-war-adventure-rpg/id6745683917?uo=4



      🤩 Hack Features

      - Debug Menu
        • Agree
        • Winner
        • Like
      • 15 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