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

    • Meow Tower - Nonogram Puzzle v3.3.601 [ +3 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
      • 12 replies
    • Meow Tower - Nonogram Puzzle v3.3.601 [ +3 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 
      • 19 replies
    • Travel Merge Family v2.725 [ +1++ Cheats ] Currency Max
      Travel Merge Family

      🤩 Hack Features

      - Currency Max 
      • 9 replies
    • Travel Merge Family v2.725 [ +1++ Jailed ] Currency Max
      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max
      • 9 replies
    • Archer Hunter: Roguelike Game v1.33.500 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Archer Hunter: Roguelike Game By Suga Pte. Ltd.
      Bundle ID: co.imba.archero
      iTunes Store Link: https://apps.apple.com/us/app/archer-hunter-roguelike-game/id1543119725?uo=4


      🤩 Hack Features

      - Gems [ Revive To Get Disable After Hack ]
      - Coins [ Weapon Up To Get Disable After Hack ]
      - HP [ Check Status ]
      - ATK [ Check Status ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 38 replies
    • Archer Hunter: Roguelike Game v1.33.500 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Archer Hunter: Roguelike Game By Suga Pte. Ltd.
      Bundle ID: co.imba.archero
      iTunes Store Link: https://apps.apple.com/us/app/archer-hunter-roguelike-game/id1543119725?uo=4



      🤩 Hack Features

      - Gems [ Revive To Get Disable After Hack ]
      - Coins [ Weapon Up To Get Disable After Hack ]
      - HP [ Check Status ]
      - ATK [ Check Status ] 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack
      • 24 replies
    • Jolly Match 3 - Puzzle Game v1.0.2090 [ +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
      • 7 replies
    • Jolly Match 3 - Puzzle Game v1.0.2090 [ +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
      • 8 replies
    • Pop Island v1.2.4 [ +1 Cheats ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 25 replies
    • Pop Island v1.2.4 [ +1 Jailed ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 25 replies
    • Domino Dreams™ v1.45.3 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
      • 28 replies
    • Domino Dreams™ v1.45.3 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4


      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]
      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task
      - Ticket Free Max [ Linked With Stars ] LvL Cost
      - Undo Max [ Linked With Stars ] 
      - Gold Card Max [ Linked With Stars ] 
      - Chapter Next [ Play LvL Quit & Win ]
      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]
      - Auto Win LvL [ Play LvL Move Anything ] 
      - Bonus Mod LvL [ ON-OFF ] 
      - Spin Free [ Need One Point only Open Play LvL ]
      • 39 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