Jump to content

Use of undeclared identifier/Unknown type name 'UIAlertView'


Go to solution Solved by AnotherLurker,

7 posts in this topic

Recommended Posts

Posted (edited)

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
Updated by L33TPr0xY
Posted

add this to the top of your makefile

 

ARCHS = armv7 armv64

 

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

Posted

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
Posted

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

Posted (edited)

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: Updated by KingRalph

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

    • Lollipop 3: Match 3 Puzzles v25.0619.00 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4
       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 
      • 7 replies
    • Lollipop 3: Match 3 Puzzles v25.0619.00 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 11 replies
    • Arena Heroes: Online RPG v1.10.30 [ +2 Cheats ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4
       

      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 22 replies
    • Arena Heroes: Online RPG v1.10.30 [ +2 Jailed ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4


      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 14 replies
    • 20 Minutes Till Dawn v6.6.2 [ +12+++ Cheats ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?uo=4


      Hack Features:
      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune


      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/
      • 31 replies
    • 20 Minutes Till Dawn v6.6.2 [ +12+++ Jailed ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?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:

      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune

       
      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
      • 17 replies
    • Stick Cricket Clash v1.9.7 [ +3 Jailed ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4


      Hack Features:
      - Currency Freeze
      - Score [ Win All Match ]
      - Ads Reward 


      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/
      • 13 replies
    • Stick Cricket Clash v1.9.7 [ +3 Cheats ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4



      Hack Features:
      - Currency Freeze
      - Score Win All Match
      - Ads Reward 



      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/
      • 40 replies
    • Backpack Rush v1.602.207 [ +20 Cheats ] Currency Max
      Modded/Hacked App: Backpack Rush By Noodle Games Limited
      Bundle ID: com.onicore.backpack.rush
      iTunes Store Link: https://apps.apple.com/us/app/backpack-rush/id6736857029?uo=4

      Hack Features:
      - ADS Ticket

      - Gems

      - Gold

      - Energy

      - Silver Coins [ Merge Weapons ]

      - Summon Coins

      - Heroic Water [ Hero Up ]

      - Meteor Essence [ Gear Refining ]

      - Talent Book +2

      - Core Evo Stone [ Pet Evo Up ]

      - Fish Hook [ Obtain Gear During A Voyage ]

      - Pickaxe [ Mine ]

      - Blueprint [ Outfit Equip UP ]

      - Fragment [ Gear Up ]

      - Fragment [ Pet UP ]

      - Dungeon Keys +3

      - Spin

      - Enemy Status [ HP ATK 0 ] Easy Kill

      - DMG [ Outfit Just Equip & Unequip ]

      - HP [ Outfit Just Equip & Unequip ]


      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/
      • 34 replies
    • Backpack Rush v1.602.207 [ +20 Jailed ] Currency Max
      Modded/Hacked App: Backpack Rush By Noodle Games Limited
      Bundle ID: com.onicore.backpack.rush
      iTunes Store Link: https://apps.apple.com/us/app/backpack-rush/id6736857029?uo=4

      Hack Features:

      - ADS Ticket

      - Gems

      - Gold

      - Energy

      - Silver Coins [ Merge Weapons ]

      - Summon Coins

      - Heroic Water [ Hero Up ]

      - Meteor Essence [ Gear Refining ]

      - Talent Book +2

      - Core Evo Stone [ Pet Evo Up ]

      - Fish Hook [ Obtain Gear During A Voyage ]

      - Pickaxe [ Mine ]

      - Blueprint [ Outfit Equip UP ]

      - Fragment [ Gear Up ]

      - Fragment [ Pet UP ]

      - Dungeon Keys +3

      - Spin

      - Enemy Status [ HP ATK 0 ] Easy Kill

      - DMG [ Outfit Just Equip & Unequip ]

      - HP [ Outfit Just Equip & Unequip ]

       
      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/
      • 25 replies
    • Candy Pop Story : Match 3 v1.21.0618 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
      • 3 replies
    • Candy Pop Story : Match 3 v1.21.0618 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      • 4 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