Jump to content

[ERROR] use of undeclared identifier "alertshow"


Go to solution Solved by Vegito,

11 posts in this topic

Recommended Posts

Posted (edited)

Hi guys, I'm having a problem with compiling my tweak with theos, it gives me this error when running make package

 

 

4Hk6Qpm.jpg

 

 

This is the code I'm using:

 

#import <UIKit/UIKit.h>

%hook AppDelegate
-(BOOL) application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"Test" 
                                                message:@"Hack made by DeathScripts for iOSGods.com" 
                                               delegate:nil 
                                      cancelButtonTitle:@"Subscribe to my YouTube channel" 
                                      otherButtonTitles:nil];
[alertshow];
[alertrelease];
%orig;
}
%end

 

And this is my makefile:

 

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#CFLAGS = -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs

include theos/makefiles/common.mk

TWEAK_NAME = Hack
Hack_FILES = Tweak.xm
Hack_FRAMEWORKS = UIKit
Hack_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 suleyman.keys"
include $(THEOS_MAKE_PATH)/aggregate.mk

 

 

Any help is greatly appreciated :)

Updated by DeathScripts
  • Solution
Posted (edited)

Hi guys, I'm having a problem with compiling my tweak with theos, it gives me this error when running make package

 

 

4Hk6Qpm.jpg

 

 

This is the code I'm using:

 

 

#import <UIKit/UIKit.h>

%hook AppDelegate
-(BOOL) application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"Test" 
                                                message:@"Hack made by DeathScripts for iOSGods.com" 
                                               delegate:nil 
                                      cancelButtonTitle:@"Subscribe to my YouTube channel" 
                                      otherButtonTitles:nil];
[alert show];
[alert release];
return %orig;
}
%end

changes i made-->

 

 

[alert show];

[alert release];

return %orig;

 

 

Edited by Vegito: Hope this helps

and please do mark this answer as solved if it solves your problem.

Updated by Vegito
Posted

 

Hi guys, I'm having a problem with compiling my tweak with theos, it gives me this error when running make package

 

4Hk6Qpm.jpg

 

This is the code I'm using:

 

 

 

#import <UIKit/UIKit.h>

%hook AppDelegate
-(BOOL) application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"Test" 
                                                message:@"Hack made by DeathScripts for iOSGods.com" 
                                               delegate:nil 
                                      cancelButtonTitle:@"Subscribe to my YouTube channel" 
                                      otherButtonTitles:nil];
[alert show];
[alert release];
return %orig;
}
%end
changes i made-->

 

 

[alert show];

[alert release];

return %orig;

 

 

Edited by Vegito: Hope this helps

and please do mark this answer as solved if it solves your problem.

Now it gives me this error: IyigDtO.jpg
Posted

Now it gives me this error: IyigDtO.jpg

 As i can see you're working on modifying this app called InstaLikes which gives you unlimited login coins. I will help you out.PM me

Posted

The 2nd error is because of return orig;

Posted

No, he is not return anything "control reaches end of non-void function"

 

What return type is it?

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

    • Hero Z: Idle defense v0.0.7 [+2 Cheats]
      Modded/Hacked App: Hero Z: Idle defense By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.heroz
      App Store Link: https://apps.apple.com/us/app/hero-z-idle-defense/id6478379131?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Priv Pass (You can't claim diamonds but all the features enabled. Skip ads, More stamina cap etc.)
       
        • Winner
      • 1 reply
    • Hero Z: Idle defense v0.0.7 [+2 Jailed Cheats]
      Modded/Hacked App: Hero Z: Idle defense By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.heroz
      App Store Link: https://apps.apple.com/us/app/hero-z-idle-defense/id6478379131?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Priv Pass (You can't claim diamonds but all the features enabled. Skip ads, More stamina cap etc.)
        • Winner
      • 0 replies
    • Jolly Match 3 - Puzzle Game v1.0.1884 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 1 reply
    • Jolly Match 3 - Puzzle Game v1.0.1884 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 0 replies
    • Cannon Heroes X v1.2.19 [+3 Jailed Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
        • Winner
        • Like
      • 1 reply
    • Cannon Heroes X v1.2.19 [+3 Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
       
        • Winner
        • Like
      • 1 reply
    • Archero Cheats v6.14.0 +5 [ God Mode & More ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4



      Hack Features:
      - Multiply Defense to
      - Multiply Damage to
      - God Mode
      - OHK (Must use with God Mode)
      - Freeze Enemies

      NOTE: If you want to use god mode and ohk turn off multiply damage and defense first. I added multiply damage and defense there to avoid ban


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/100710-archero-v210-enemies-dont-attack-x30-attack/


      Hack Download Link: https://iosgods.com/topic/96783-arm64-archero-cheats-v220-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 15,860 replies
    • Galaxy Defense: Fortress TD v0.9.2 [+2 Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
       
        • Agree
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Galaxy Defense: Fortress TD v0.9.2 [+2 Jailed Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 7 replies
    • Bounce Defense v1.4.0 [+5 Jailed Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
        • Informative
        • Like
      • 14 replies
    • Bounce Defense v1.4.0 [+5 Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
        • Like
      • 9 replies
    • Slay the Titan : Deckbuild RPG v1.4.2 +2 Cheats
      Modded/Hacked App: Slay the Titan : Deckbuild RPG By Dreamplaygames Inc.
      Bundle ID: com.dreamplay.slaythetitan.apple
      App Store Link: https://apps.apple.com/us/app/slay-the-titan-deckbuild-rpg/id6741893290?uo=4

       

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
        • Agree
        • Thanks
        • Winner
      • 7 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