Jump to content

Use of undeclared identifier/Unknown type name 'UIAlertView'


Cyber X

7 posts in this topic

Recommended Posts

error: Use of undeclared identifier 'UIAlertView'

error: Unknown type name 'UIAlertView'
 
8jKLAfj.jpg
Putty in text

 

 

L33T-Pr0xY:/var/mobile root# cd fragger
L33T-Pr0xY:/var/mobile/fragger root# make package install
/bin/sh: tr: command not found
/bin/sh: tr: command not found
/bin/sh: tr: command not found
/var/mobile/fragger/theos/makefiles/targets/Darwin-arm/iphone.mk:43: Targeting i                                   OS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/fragger/theos/makefiles/targets/Darwin-arm/iphone.mk:53: Deploying t                                   o iOS 3.0 while building for 6.0 will generate armv7-only binaries.
/bin/sh: tr: command not found
/bin/sh: cut: command not found
/bin/sh: cut: command not found
/bin/sh: cut: command not found
Making all for tweak fragger...
/bin/sh: tr: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
/bin/sh: tr: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:6:829: error: unknown type name 'UIAlertView'
  ...SEL, UIAlertView *, NSInteger);
          ^
Tweak.xm:33:1: error: unknown type name 'UIAlertView'
UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Fragger HACK"
^
Tweak.xm:33:26: error: use of undeclared identifier 'UIAlertView'
UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Fragger HACK"
                         ^
Tweak.xm:55:111: error: unknown type name 'UIAlertView'
  ...self, SEL _cmd, UIAlertView * alertView, NSInteger buttonIndex) {
                     ^
Tweak.xm:67:5: error: use of undeclared identifier 'UIApplication'
                [[UIApplication sharedApplication] openURL:[NSURL URLWit...
                  ^
Tweak.xm:75:1228: error: unknown type name 'UIAlertView'
  ...= ':'; i += 1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strlen(...
                                                      ^
Tweak.xm:75:1297: error: unknown type name 'UIAlertView'
  ...*), strlen(@encode(UIAlertView *))); i += strlen(@encode(UIAlertView *))...
                                                              ^
7 errors generated.
make[2]: *** [obj/Tweak.xm..o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [fragger.all.tweak.variables] Error 2
L33T-Pr0xY:/var/mobile/fragger root#

 

 

Makefile

include theos/makefiles/common.mk

TWEAK_NAME = fragger
fragger_FILES = Tweak.xm
fragger_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"

Tweak.xm


//the hack//

%hook LevelLayer
-(int) grenades {
return 10000;
}


-(void) setGrenades:(int)fp8 {
fp8=10000;
%orig(fp8);
}
%end

%hook Configuration
-(void) setUnlimitedGrenades: (BOOL)fp8 {
fp8=true;
%orig(fp8);
}
%end



%hook AppDelegate
-(void)applicationDidBecomeActive:(id)argument {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"This is the Title" message:@"This is the Message" delegate:nil cancelButtonTitle:@"This is the Button Text" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end
Link to comment
Share on other sites

no need :mellow:, this won't fix the error

It should fix the clang and armv7 binary issue he has. Also he needs to add the following code to his makefile

ARCHS = armv7 arm64
TARGET = iphone:clang:SDKNUMBERHERE
Alternative:

export ARCHS = armv7 arm64
export TARGET = iphone:clang:SDKNUMBERHERE
Link to comment
Share on other sites

It should fix the clang and armv7 binary issue he has. Also he needs to add the following code to his makefile

ARCHS = armv7 arm64
TARGET = iphone:clang:SDKNUMBERHERE
Alternative:

export ARCHS = armv7 arm64
export TARGET = iphone:clang:SDKNUMBERHERE

 

no lol, you didn't read the error did you? The error said he missing UIKit Library

 

Also @ you should install BigBoss Recommended Tool on Cydia to fix bin/sh: xx command not found

Link to comment
Share on other sites

no lol, you didn't read the error did you? The error said he missing UIKit LibraryAlso @ you should install BigBoss Recommended Tool on Cydia to fix bin/sh: xx command not found

I read the error. I'm giving him the solution to the error on lines 8-11 in the photo. One more thing. DiDA said that if you @mention a member, they don't get notified :3 quote his post instead :thumbsup:
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Toram Online v4.0.30 - [ Custom Move Speed & More ]
      Modded/Hacked App: Toram Online By ASOBIMO,Inc.
      Bundle ID: com.asobimo.toramonline
      iTunes Store Link: https://itunes.apple.com/us/app/toram-online/id988683886?mt=8&uo=4&at=1010lce4
       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Custom Move Speed
      - God Mode 
      - Fast Attack Speed
      - Fast Cast Speed
      - Always Critical Chance
      - Never Miss Hit 
      - Mobs/Bosses Can't Avoid & Guard 
      - Quick Draw
      - Armor Break
      - Magic Wall - Stun + Full Map Hack 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,397 replies
    • We Are Warriors! v1.25.0 Cheats +3
      Modded/Hacked App: We Are Warriors! By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.vjsjlqvlmp.wearewarriors
      iTunes Store Link: https://apps.apple.com/us/app/we-are-warriors/id6466648550?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:
      - Unlimited everything
      - Auto complete task
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 15 replies
    • We Are Warriors! v1.25.0 Cheats +3
      Modded/Hacked App: We Are Warriors! By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.vjsjlqvlmp.wearewarriors
      iTunes Store Link: https://apps.apple.com/us/app/we-are-warriors/id6466648550?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Unlimited everything
      - Auto complete task
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 14 replies
    • WAR OF THE VISIONS FFBE Cheats v8.6.0 +3 [ Multiply Damage & Defense ]
      Modded/Hacked App: FINAL FANTASY BE:WOTV By SQUARE ENIX Co., Ltd.
      Bundle ID: com.square-enix.WOTVffbeww
      iTunes Store Link: https://apps.apple.com/us/app/final-fantasy-be-wotv/id1484937345?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Full Map Movement


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/173485-final-fantasy-bewotv-v730-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/173483-war-of-the-visions-ffbe-cheats-v740-3-multiply-damage-defense/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 124 replies
    • Slash & Girl - Endless Run By Shenzhen Qingtian IE Technology Co., Ltd v7.9.981 Cheats +4
      Modded/Hacked App: Slash & Girl - Endless Run By Shenzhen Qingtian IE Technology Co., Ltd
      Bundle ID: com.slash.girl.redfish
      iTunes Store Link: https://apps.apple.com/vn/app/slash-girl-endless-run/id1484766098?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:
      - No die
      - One hit
      - Freeze combo
      - Freeze lighting
        • Informative
        • Thanks
        • Like
      • 3 replies
    • Slash & Girl - Endless Run By Shenzhen Qingtian IE Technology Co., Ltd v7.9.981 Cheats +7
      Modded/Hacked App: Slash & Girl - Endless Run By Shenzhen Qingtian IE Technology Co., Ltd
      Bundle ID: com.slash.girl.redfish
      iTunes Store Link: https://apps.apple.com/vn/app/slash-girl-endless-run/id1484766098?uo=4

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing / or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).
       

      Hack Features:
      - No die
      - One hit
      - Earn more currencies
      - Custom score
      - Freeze combo
      - Freeze lighting
      - Jump height
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Blood Knight : 3D Idle RPG v2.98 Cheats +1
      Modded/Hacked App: Blood Knight : 3D Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.blood
      iTunes Store Link: https://apps.apple.com/us/app/blood-knight-3d-idle-rpg/id6443827240?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:
      - High damage
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 78 replies
    • Blood Knight : 3D Idle RPG v2.98 Cheats +1
      Modded/Hacked App: Blood Knight : 3D Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.blood
      iTunes Store Link: https://apps.apple.com/us/app/blood-knight-3d-idle-rpg/id6443827240?uo=4

       


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - High damage
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 37 replies
    • [ Dead by Daylight TW ] 黎明死線M - Envoy v1.0.32 +27 Cheats
      Modded/Hacked App: 黎明死線M - Envoy [ Dead by Daylight Mobile TW ] By Envoy Interactive Entertainment Co., Ltd.
      Bundle ID: com.netease.dbdtw
      iTunes Store Link: https://apps.apple.com/tw/app/%E9%BB%8E%E6%98%8E%E6%AD%BB%E7%B7%9Am-envoy/id1504610184?uo=4


      Hack Features:
      - No Skill Check
      - No Killer Attack/Miss Cooldown
      - Custom Speed
      - Killer Location Cham
      - Survivor Location Cham
      - Generator Cham
      - Totems Cham
      - Chest Cham
      - Portal Cham
      - Hatch Cham
      - Hooks Cham
      - Trap Cham
      - Escape Switch Cham
      - Normal Pallet Cham
      - Dream Pallet Cham
      - Lockers Cham
      - Survivor Trap Immunity
      - Instant Window Vault*
      - Instant Destroy Pallets*
      - Instant Pickup Downed Players*
      - Custom FOV
      - Disable Footsteps - use as a survivor.
      - No Nurse Fatigue
      - Instant Nurse Teleport
      - Nurse Teleport Through Anything
      - Better Aim Assist
      - No Heartbeat

      * Under one switch


      iOS Hack Download Link: https://iosgods.com/topic/164639-dead-by-daylight-tw-%E9%BB%8E%E6%98%8E%E6%AD%BB%E7%B7%9Am-envoy-v1024-27-cheats/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 95 replies
    • OUTERPLANE - Strategy Anime v1.1.92 Cheats +4
      Modded/Hacked App: OUTERPLANE - Strategy Anime By Smilegate Holdings, Inc.
      Bundle ID: com.smilegate.outerplane.stove.ios
      iTunes Store Link: https://apps.apple.com/us/app/outerplane-strategy-anime/id1630880836?uo=4

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - God mode
      - OHK
      - Unlimited AP
      - No CD skill
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 71 replies
    • Boomerang RPG v1.0.18 Cheats +3
      Modded/Hacked App: Boomerang RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.boomerang
      iTunes Store Link: https://apps.apple.com/us/app/boomerang-rpg/id6472151756?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:
      - God mode
      - High damage
      - Fast attack
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 18 replies
    • Boomerang RPG v1.0.18 Cheats +3
      Modded/Hacked App: Boomerang RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.boomerang
      iTunes Store Link: https://apps.apple.com/us/app/boomerang-rpg/id6472151756?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - God mode
      - Fast attack
      - High damage
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 59 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