Jump to content

11 posts in this topic

Recommended Posts

Posted

Hello when I tried using this template 

I had an error which says:

Tweak.xm:53:48: error: use of undeclared identifier 'options'                                                                                

    [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]];                                                                                                                           

                                               ^                                                                                             

Tweak.xm:53:56: error: use of undeclared identifier 'completionHandler'                                                                      

    [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]];                                                                                                                           

                                                       ^                                                                                     

Tweak.xm:57:40: error: instance method '-openURL:::' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]                 

    [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/clubs/"]];             

                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                    

/var/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:105:40: note: receiver is instance of class declared here                                                                                                                               

NS_CLASS_AVAILABLE_IOS(2_0) @interface UIApplication : UIResponder                                                                           

                                       ^                                                                                                     

Tweak.xm:57:48: error: use of undeclared identifier 'options'                                                                                

    [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/clubs/"]];             

                                               ^                                                                                             

Tweak.xm:57:56: error: use of undeclared identifier 'completionHandler'                                                                      

    [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/clubs/"]]

Posted

Did you move or change anything in the Tweak.xm?

Posted (edited)
3 hours ago, DiDA said:

Did you move or change anything in the Tweak.xm?

@DiDA I removed a comment in the code, here is my tweak.xm:

 

@import Foundation;

@import UIKit;

#import <substrate.h>

#import "vm_writeData.h"

 

// To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-offsets/

// To Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject/

 

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.majdawwad.hotspot.plist"

 

inline bool GetPrefBool(NSString *key) {

        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

 

// Add your MS/Flex/MSHook Code here. Examples can be found on iOSGods.

 

%hook AfUserAccount

-(bool) isElite {

if(GetPrefBool(@"key1")) {

return TRUE;

}

return %orig;

}

%end

 

%hook AFUserAccount

-(void) setIsElite:(bool)arg1 {

if(GetPrefBool(@"key1")) {

arg1 = TRUE;

}

%orig(arg1);

}

%end

 

%hook CLSAnalyticsMetadataController

+(bool) hostJailbroken {

if(GetPrefBool(@"key2")) {

return FALSE;

}

return %orig;

}

%end

 

 

 

 

// Automatic Popup Code

void setup() {

    UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"Hotspot Sheild VPN Cheats for iOSGods.com!\n\nVisit the hack's official topic on iOSGods for more information and updates!" preferredStyle:UIAlertControllerStyleAlert];

 

    UIAlertAction *iosgods = [UIAlertAction actionWithTitle:@"Visit iOSGods.com!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){

    [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]];

    }];

 

    UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){

    [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/clubs/"]];

    }];

 

    UIAlertAction *thankyou = [UIAlertAction actionWithTitle:@"Thank you" style:UIAlertActionStyleCancel handler:nil];

 

    [igcredits addAction:iosgods];

    [igcredits addAction:clubs];

    [igcredits addAction:thankyou];

 

    [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:igcredits animated:true completion:nil];

}

 

void unsubscribeToLaunchEvent(void);

 

static void didFinishLaunching(CFNotificationCenterRef center, void *observer,

                               CFStringRef name, const void *object, CFDictionaryRef info) {

    setup();

    unsubscribeToLaunchEvent();

}

 

const char *authObserver = "authObserver";

 

void subscribeToLaunchEvent() {

    CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), authObserver, &didFinishLaunching,

                                    (CFStringRef)UIApplicationDidFinishLaunchingNotification,

                                    NULL, CFNotificationSuspensionBehaviorDrop);

}

 

void unsubscribeToLaunchEvent() {

    CFNotificationCenterRemoveObserver(CFNotificationCenterGetLocalCenter(), authObserver,

                                       (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL);

}

 

__attribute__((constructor)) static void initialize() {

    subscribeToLaunchEvent();

}

 

Updated by The Epic Gamer
Posted

Strange, I'm able to compile on the iOS 9 SDK. :wonder:

Posted (edited)
4 minutes ago, DiDA said:

Strange, I'm able to compile on the iOS 9 SDK. :wonder:

I have the iOS 10 sdk, should I change it to the iOS 9 sdk?

Updated by The Epic Gamer
Posted
Just now, The Epic Gamer said:

I have the iOS 10 sdk, should I change it to the iOS 9 sdk?

You can try, yes.

Posted
Just now, DiDA said:

You can try, yes.

Ok, can you give me a link to download the sdk, please

2 minutes ago, DiDA said:

You can try, yes.

Never mind, I will just run the command 

theosinstaller 9.3
Posted
13 minutes ago, DiDA said:

@DiDA I reinstalled theos, replaced sdks and I made a new patcher but I had one error which is this:

==> Linking bundle hotspotpatcher (arm64)…                                                                                                   

ld: warning: directory not found for option '-F/var/theos/sdks/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks'                             

ld: framework not found Preferences                                                                                                          

clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)                                                          

make[4]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/hotspotpatcher/.theos/obj/arm64/hotspotpatcher.bundle/hotspotpatcher] Error 1                                                                                                                                        

Posted
35 minutes ago, The Epic Gamer said:

@DiDA I reinstalled theos, replaced sdks and I made a new patcher but I had one error which is this:

==> Linking bundle hotspotpatcher (arm64)…                                                                                                   

ld: warning: directory not found for option '-F/var/theos/sdks/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks'                             

ld: framework not found Preferences                                                                                                          

clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)                                                          

make[4]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/hotspotpatcher/.theos/obj/arm64/hotspotpatcher.bundle/hotspotpatcher] Error 1                                                                                                                                        

I fixed it by downngrading the SDK to 9.2 and now everything is working perfectly 

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

    • Rent Please! Landlord Sim Cheats v1.5.9 +2
      Modded/Hacked App: Rent Please! Landlord Sim By Shimmer Games Co., Ltd.
      Bundle ID: com.shimmergames.tenants.gb.en
      iTunes Store Link: https://apps.apple.com/us/app/rent-please-landlord-sim/id1645842987?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168311-rent-please-landlord-sim-v111-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/168312-rent-please-landlord-sim-cheats-v111-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 142 replies
    • Temple Run 2 Cheats v1.122.0 +8
      Modded/Hacked App: Temple Run 2 by Imangi Studios, LLC
      Bundle ID: com.imangi.templerun2
      iTunes Store Link: https://apps.apple.com/us/app/temple-run-2/id572395608?uo=4&at=1010lce4


      Hack Features:
      - No Ads Enabled
      - x2 Coin Enabled
      - Infinite Coin (Spend some)
      - Infinite Gem (Spend some)
      - All Characters Unlocked
      - Free iAP (Turn off all iap hacks before using this, also if itunes popup don't show then run ldrestart in terminal -- This is an issue with the jailbreak not the hack)
      - Auto Run
      - Coin Magnet


      iOS Hack Download Link: https://iosgods.com/topic/132609-arm64-temple-run-2-cheats-v1691-8/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 307 replies
    • Family Island — Farm game v2025140.1.74285 Jailed Cheats +1
      Modded/Hacked App: Family Island™ — Farm game by Melsoft
      Bundle ID: com.MelsoftGames.FamilyIsland
      iTunes Store Link: https://apps.apple.com/us/app/family-island-farm-game/id1464689103?uo=4&at=1010lce4


      Hack Features:
      - Cheat Engine Enabled


      iOS Hack Download Link: https://iosgods.com/topic/115337-arm64-family-island-%E2%80%94-farm-game-v20190824862-jailed-cheats-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,296 replies
    • Hill Climb Racing 2 v1.66.0 Cheats +1
      Modded/Hacked App: Hill Climb Racing 2 By Fingersoft
      Bundle ID: com.fingersoft.hillclimbracing2
      iTunes Store Link: https://apps.apple.com/us/app/hill-climb-racing-2/id1146465836?uo=4


      Hack Features:
      - Freeze Coins
      - Freeze Gems
      - Freeze Scraps


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/108295-hill-climb-racing-2-v1611-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/108298-hill-climb-racing-2-v1612-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,179 replies
    • Cafeland - World Kitchen Cheats v2.49.5 +1
      Modded/Hacked App: Cafeland - World Kitchen by Gamegos Internet Teknolojileri Ltd Sti.
      Bundle ID: com.gamegos.mobile.cafeland
      iTunes Store Link: https://apps.apple.com/us/app/cafeland-world-kitchen/id1147665432?uo=4&at=1010lce4



      Hack Features:
      - Freeze Currencies


      iOS Hack Download Link: https://iosgods.com/topic/100701-arm64-cafeland-world-kitchen-cheats-v2023-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 418 replies
    • Archero Cheats v6.13.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,851 replies
    • Pocket Champs PVP Racing Games Cheats v5.8.2 +2
      Modded/Hacked App: Pocket Champs: 3D Racing Games By MADBOX
      Bundle ID: com.pocketchamps.game
      iTunes Store Link: https://apps.apple.com/us/app/pocket-champs-3d-racing-games/id1542776143?uo=4


      Hack Features:
      - Free Store (not Free iAP) -- Negative value will reset to 0 on launch
      - Infinite Coins & Gems

      iOS Hack Download Link: https://iosgods.com/topic/165006-pocket-champs-3d-racing-games-cheats-v318-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 188 replies
    • Idle Theme Park - Tycoon Game Cheats v7.3.0 +1
      Modded/Hacked App: Idle Theme Park - Tycoon Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.theme.park.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-theme-park-tycoon-game/id1460772578?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash


      iOS Hack Download Link: https://iosgods.com/topic/116320-arm64-idle-theme-park-tycoon-game-cheats-v210-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 561 replies
    • Conquest Girls : AFK Idle RPG Cheats v2.11.85 +4
      Modded/Hacked App: Conquest Girls : AFK Idle RPG By Toast.Co.,Ltd
      Bundle ID: com.greenspring.conquestgirls
      iTunes Store Link: https://apps.apple.com/us/app/conquest-girls-afk-idle-rpg/id6670455686?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

      - Multiply Attack
      - Multiply Attack Speed
      - Multiply Attack Range
      - Freeze Currencies (Some arena / section may not support this)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/189660-conquest-girls-afk-idle-rpg-v21164-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/186829-conquest-girls-afk-idle-rpg-cheats-v21167-4/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 47 replies
    • Battle Legion - Mass Battler Cheats v4.3.4 +4
      Modded/Hacked App: Battle Legion - Mass Battler By GODSPEED GAMING SOLUTIONS PRIVATE LIMITED
      Bundle ID: com.traplight.battleslides
      iTunes Store Link: https://apps.apple.com/us/app/battle-legion-mass-battler/id1435133042?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

      - Multiply Attack
      - Multiply Defense
      - Instant Win
      - Enemies Don't Move
      - Enemies Don't Attack

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/129669-battle-legion-mass-battler-cheats-v424-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 571 replies
    • MWT: Tank Battles v1.8.2 Jailed Cheats +5
      Modded/Hacked App: MWT: Tank Battles By ARTSTORM FZE
      Bundle ID: com.Shooter.ModernWarfront
      iTunes Store Link: https://apps.apple.com/us/app/mwt-tank-battles/id6469805187?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
      - Freeze Boosters
      - Free Subscription?
      + 10% EXP
      + 50% Cash / Gold


      iOS Hack Download IPA Link: https://iosgods.com/topic/188441-mwt-tank-battles-v121-jailed-cheats-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 115 replies
    • [ The Battle Cats JP ] にゃんこ大戦争 Cheats v14.4.1 +3
      Modded/Hacked App: にゃんこ大戦争 By ponos corporation
      Bundle ID: jp.co.ponos.battlecats
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?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

      - Infinite Cash
      - OHK Linked w/ Enemy
      - Infinite Cat Foods & EXP*

       

      Non-Jailbroken Hack: https://iosgods.com/topic/194335-the-battle-cats-jp-%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89-v1432-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194334-the-battle-cats-jp-%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89-cheats-v1432-3/
        • Agree
        • Thanks
        • Like
      • 14 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