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

    • Idle Fantasy Magic School:TD v1.2.4 [ +3 Cheats ] Gems Max
      Modded/Hacked App: Idle Fantasy Magic School:TD By Shenzhen Blackstream Interactive Entertainment Co., Ltd.
      Bundle ID: com.blackstream.iosidlemagicschool
      iTunes Store Link: https://apps.apple.com/us/app/idle-fantasy-magic-school-td/id6465575604?uo=4


      Hack Features:
      - ADS NO [ Rewards Free ]
      - Gems
      - DMG [ Check Hero Status ]
      • 19 replies
    • Idle Fantasy Magic School:TD v1.2.4 [ +3 Jailed ] Gems Max
      Modded/Hacked App: Idle Fantasy Magic School:TD By Shenzhen Blackstream Interactive Entertainment Co., Ltd.
      Bundle ID: com.blackstream.iosidlemagicschool
      iTunes Store Link: https://apps.apple.com/us/app/idle-fantasy-magic-school-td/id6465575604?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - ADS NO [ Rewards Free ]
      - Gems
      - DMG [ Check Hero Status ]



      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust email@iosgods.com'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Ik_Ik


      Cheat Video/Screenshots:

      N/A
      • 32 replies
    • Grunt Rush: Battle & Conquer v0.21.2 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Grunt Rush: Battle & Conquer By Electronic Gaming Development Company
      Bundle ID: com.steer.gruntrush
      iTunes Store Link: https://apps.apple.com/us/app/grunt-rush-battle-conquer/id6478955259?uo=4


      Hack Features:

      - No ADS

      - IAP Free [ Buy Anything ]

      - Gems 

      - Gold 

      - Units Unlocked 

      - Battle Pass Active

      - Drop Units Unlimited [ Easy To Win ]

       
      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 6 replies
    • Grunt Rush: Battle & Conquer v0.21.2 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Grunt Rush: Battle & Conquer By Electronic Gaming Development Company
      Bundle ID: com.steer.gruntrush
      iTunes Store Link: https://apps.apple.com/us/app/grunt-rush-battle-conquer/id6478955259?uo=4


      Hack Features:

      - No ADS

      - IAP Free [ Buy Anything ]

      - Gems 

      - Gold 

      - Units Unlocked 

      - Battle Pass Active

      - Drop Units Unlimited [ Easy To Win ]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content

      Download Hack
      • 25 replies
    • Meow Tower - Nonogram Puzzle v3.2.201 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4


      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max
      • 3 replies
    • Meow Tower - Nonogram Puzzle v3.2.201 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4
       

      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max 
      • 7 replies
    • Heroes Slime: Castle Defenders v1.2 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Heroes Slime: Castle Defenders By Roman Mazur
      Bundle ID: com.g1.slime.kingdom
      iTunes Store Link: https://apps.apple.com/us/app/heroes-slime-castle-defenders/id6737798586?uo=4


      🤩 Hack Features

      - Currency
      - Resources

      • 1 reply
    • Heroes Slime: Castle Defenders v1.2 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Heroes Slime: Castle Defenders By Roman Mazur
      Bundle ID: com.g1.slime.kingdom
      iTunes Store Link: https://apps.apple.com/us/app/heroes-slime-castle-defenders/id6737798586?uo=4
       

      🤩 Hack Features

      - Currency
      - Resources 

      • 4 replies
    • Tetris® Block Party v0.27.0 [ +2 Cheats ] Coins Unlimited
      Modded/Hacked App: Tetris® Block Party By Playstudios, Inc.
      Bundle ID: com.playstudios.tetrisblockparty
      iTunes Store Link: https://apps.apple.com/ph/app/tetris-block-party/id6569243702?uo=4
       

      🤩 Hack Features

      - Coin Increaser [ Block Placed ]
      - Merge Any Block Anywhere

      Don't Abuse The Hack In Case Banned Not Tested
      • 15 replies
    • Tetris® Block Party v0.27.0 [ +2 Jailed ] Coins Unlimited
      Modded/Hacked App: Tetris® Block Party By Playstudios, Inc.
      Bundle ID: com.playstudios.tetrisblockparty
      iTunes Store Link: https://apps.apple.com/ph/app/tetris-block-party/id6569243702?uo=4
       

      🤩 Hack Features

      - Coin Increaser [ Block Placed ]
      - Merge Any Block Anywhere

      Don't Abuse The Hack In Case Banned Not Tested
      • 6 replies
    • Survivor Code: Last Stand v1.0.2 [+3 Cheats]
      Modded/Hacked App: Survivor Code: Last Stand By TUONG PHAT ENVIROMENT AND TECHNOLOGY COMPANY LIMITED
      Bundle ID: com.survivor.hero.laststand
      App Store Link: https://apps.apple.com/us/app/survivor-code-last-stand/id6743934880?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency
      - Get No Ads
       
      • 1 reply
    • Survivor Code: Last Stand v1.0.2 [+3 Jailed Cheats]
      Modded/Hacked App: Survivor Code: Last Stand By TUONG PHAT ENVIROMENT AND TECHNOLOGY COMPANY LIMITED
      Bundle ID: com.survivor.hero.laststand
      App Store Link: https://apps.apple.com/us/app/survivor-code-last-stand/id6743934880?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency
      - Get No Ads
      • 0 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