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

    • Blood Kiss: Vampire Romance v1.23.3 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Blood Kiss: Vampire Romance By Storytaco.inc
      Bundle ID: com.storytaco.bloodkiss.dangerous.ikemen.otome.story
      iTunes Store Link: https://apps.apple.com/us/app/bloodkiss-vampire-romance/id1541117815?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Blood Kiss: Vampire Romance v1.22.3 +1 Cheat [ Free Premium Choices ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Like
      • 7 replies
    • Blood Kiss: Vampire Romance v1.23.3 +1 Cheat [ Free Premium Choices ]
      Modded/Hacked App: Blood Kiss: Vampire Romance By Storytaco.inc
      Bundle ID: com.storytaco.bloodkiss.dangerous.ikemen.otome.story
      iTunes Store Link: https://apps.apple.com/us/app/bloodkiss-vampire-romance/id1541117815?uo=4


      Hack Features:
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Blood Kiss: Vampire Romance v1.22.3 +1 Jailed Cheat [ Free Premium Choices ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Thanks
        • Winner
        • Like
      • 3 replies
    • Kiss in Hell: Fantasy Otome v1.3.1 +1 Cheat [ Free Premium Choices ]
      Modded/Hacked App: Kiss in Hell: Fantasy Otome By Storytaco.inc
      Bundle ID: com.storytaco.p31client
      iTunes Store Link: https://apps.apple.com/us/app/kiss-in-hell-fantasy-otome/id6473819786?uo=4


      Hack Features:
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Kiss in Hell: Fantasy Otome v1.2.0 +1 Jailed Cheat [ Free Premium Choices ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Like
      • 8 replies
    • Moonlight Crush: Fantasy Otome v1.1.5 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Moonlight Crush: Fantasy Otome By Storytaco.inc
      Bundle ID: com.storytaco.p35client
      iTunes Store Link: https://apps.apple.com/us/app/moonlight-crush-fantasy-otome/id6480089694?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Moonlight Crush: Fantasy Otome v1.1.0 +1 Cheat [ Free Premium Choices ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 8 replies
    • Moonlight Crush: Fantasy Otome v1.1.5 +1 Cheat [ Free Premium Choices ]
      Modded/Hacked App: Moonlight Crush: Fantasy Otome By Storytaco.inc
      Bundle ID: com.storytaco.p35client
      iTunes Store Link: https://apps.apple.com/us/app/moonlight-crush-fantasy-otome/id6480089694?uo=4


      Hack Features:
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Moonlight Crush: Fantasy Otome v1.1.0 +1 Jailed Cheat [ Free Premium Choices ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Haha
        • Thanks
        • Like
      • 5 replies
    • Nightfall: Kingdom Frontier TD v1.0.419 +8 Jailed Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Nightfall: Kingdom Frontier TD v1.0.41 +8 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 97 replies
    • Nightfall: Kingdom Frontier TD v1.0.419 +8 Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nightfall: Kingdom Frontier TD v1.0.41 +8 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 108 replies
    • Case Chase - CSGO Case Clicker v1.22.0 +3 Jailed Cheats [ Unlimited Gold ]
      Modded/Hacked App: Case Chase - CSGO Case Clicker By GOECORUSH Media, s. r. o.
      Bundle ID: com.kommadot.casesimulator
      iTunes Store Link: https://apps.apple.com/us/app/case-chase-csgo-case-clicker/id1258962959?uo=4


      Hack Features:
      - Unlimited Gold
      - Unlimited Cases -> Open a case.
      - Free In-App Purchases


      Jailbreak required hack(s): [Mod Menu Hack] Case Chase - CSGO Case Clicker v1.17.0 +3 Cheats [ Unlimited Gold ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 107 replies
    • Case Chase - CSGO Case Clicker v1.22.0 +3 Cheats [ Unlimited Gold ]
      Modded/Hacked App: Case Chase - CSGO Case Clicker By GOECORUSH Media, s. r. o.
      Bundle ID: com.kommadot.casesimulator
      iTunes Store Link: https://apps.apple.com/us/app/case-chase-csgo-case-clicker/id1258962959?uo=4


      Hack Features:
      - Unlimited Gold
      - Unlimited Cases -> Open a case.
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Case Chase - CSGO Case Clicker v1.17.0 +3 Jailed Cheats [ Unlimited Gold ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 50 replies
    • NERF: Superblast Online FPS v1.16.0 +4 Jailed Cheats [ Unlimited Ammo ]
      Modded/Hacked App: NERF: Superblast Online FPS By Nitro Games Oyj
      Bundle ID: com.nitrogames.newdawn
      iTunes Store Link: https://apps.apple.com/us/app/nerf-superblast-online-fps/id1557212962
       

      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - High Damage -> Shoots out a lot of bullets per bullet. Best to use with Unlimited Ammo.
      - No Weapon Spread
      - High Fire Rate


      Jailbreak required hack(s): [Mod Menu Hack] NERF: Superblast v1.0.5 +4 Cheats [ Unlimited Ammo ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 68 replies
    • Mini Soccer Star 2025 v1.64 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2025 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      iTunes Store Link: https://apps.apple.com/us/app/mini-soccer-star-2025/id1636072966?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Will not decrease.


      Jailbreak required hack(s): https://iosgods.com/topic/169059-mini-soccer-star-2023-all-versions-3-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 168 replies
    • Mini Soccer Star 2025 v1.64 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2025 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      iTunes Store Link: https://apps.apple.com/us/app/mini-soccer-star-2025/id1636072966?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/169061-mini-soccer-star-2023-v059-3-jailed-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 76 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