Jump to content

I'm getting error messages while trying to compile patches


Go to solution Solved by Johnkittz,

21 posts in this topic

Recommended Posts

Posted

I'm getting this error while trying to compile tweaks in terminal 

 

 

Tweak.xm:17:75: error: expected class member or base class name
...self, SEL _cmd):(int) {
^
Tweak.xm:17:75: error: expected '{' or ','
Tweak.xm:17:74: error: only constructors take base initializers
...self, SEL _cmd):(int) {
^
Tweak.xm:18:1: error: void function
'_logos_method$_ungrouped$User$setPoints' should not return a
value [-Wreturn-type]
return 999;
^ ~~~
Tweak.xm:29:1: error: void function
'_logos_method$_ungrouped$AdController$setShowCoinAds' should not return a value [-Wreturn-type]
return false;
^ ~~~~~
5 errors generated.
make[2]: *** [obj/Tweak.xm.23543844.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2

 

 

and here is the code/edit I did. I don't think there's any mistake here

 

 %hook SPJailbreakStatusProvider

+ (BOOL) isJailbroken {
return false;
}
%end
%hook RevMobDeviceInfo
- (BOOL) isJailbroken {
return false;
}
%end
%hook ADCConfiguration
- (BOOL) areAdsDisabled {
return true;
}
%end
%hook User
- (void)setPoints:(int) {
return 999;
}
- (int)points {
return 999;
}
%end
%hook AdController
- (BOOL)showCoinAds {
return false;
}
- (void)setShowCoinAds {
return false;
}
%end
 
 
Posted

 

 %hook SPJailbreakStatusProvider

+ (BOOL) isJailbroken {

return false;

}

%end

%hook RevMobDeviceInfo

- (BOOL) isJailbroken {

return false;

}

%end

%hook ADCConfiguration

- (BOOL) areAdsDisabled {

return true;

}

%end

%hook User

- (void)setPoints:(int)fp6 {

return 999;

}

- (int)points {

return 999;

}

%end

%hook AdController

- (BOOL)showCoinAds {

return false;

}

- (void)setShowCoinAds:(BOOL)fp8 {

return false;

}

%end

Try That ^^^^

You cannot return voids, you can only null them.

 

If it's a void with an argument then follow this: https://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/

he was returning a void with a agrument but without the arg and idenfier i fixed the code :)

Posted

You cannot return voids, you can only null them.

 

If it's a void with an argument then follow this: https://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/

 

 

Try That ^^^^

he was returning a void with a agrument but without the arg and idenfier i fixed the code :)

 

 

Thanks guys. Before i was getting 5 errors but now it's 2 errors . So how I'm I going to get rid of this two now :)

 

 

...

Tweak.xm:19:1: error: void function

'_logos_method$_ungrouped$User$setPoints should not return a

value [-Wreturn-type]

return 999;

^ ~~~

Tweak.xm:30:1: error: void function

'_logos_method$_ungrouped$AdController$setShowCoinAds should

not return a value [-Wreturn-type]

return false;

^ ~~~~~

2 errors generated.

make[2]: *** [obj/Tweak.xm.23543844.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2 

Posted

Thanks guys. Before i was getting 5 errors but now it's 2 errors . So how I'm I going to get rid of this two now :)

 

 

...

Tweak.xm:19:1: error: void function

'_logos_method$_ungrouped$User$setPoints should not return a

value [-Wreturn-type]

return 999;

^ ~~~

Tweak.xm:30:1: error: void function

'_logos_method$_ungrouped$AdController$setShowCoinAds should

not return a value [-Wreturn-type]

return false;

^ ~~~~~

2 errors generated.

make[2]: *** [obj/Tweak.xm.23543844.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2 

 

 %hook SPJailbreakStatusProvider

+(BOOL) isJailbroken {

return false;

}

%end

%hook RevMobDeviceInfo

- (BOOL) isJailbroken {

return false;

}

%end

%hook ADCConfiguration

- (BOOL) areAdsDisabled {

return true;

}

%end

%hook User

- (void)setPoints:(int)fp6 {

fp6 = 999;

}

- (int)points {

return 999;

}

%end

%hook AdController

- (BOOL)showCoinAds {

return false;

}

- (void)setShowCoinAds:(BOOL)fp8 {

fp8 = false;

}

%end

try that

  • Solution
Posted

 

 %hook SPJailbreakStatusProvider

+(BOOL) isJailbroken {

return false;

}

%end

%hook RevMobDeviceInfo

- (BOOL) isJailbroken {

return false;

}

%end

%hook ADCConfiguration

- (BOOL) areAdsDisabled {

return true;

}

%end

%hook User

- (void)setPoints:(int)fp6 {

%orig(999);

}

- (int)points {

return 999;

}

%end

%hook AdController

- (BOOL)showCoinAds {

return false;

}

- (void)setShowCoinAds:(BOOL)fp8 {

%orig(FALSE);

}

%end

Another thing to try :)

Posted

Another thing to try :)

 

It gave me this

 

 

clang: error: unable to execute command: Bus error: 10

clang: error: linker command failed due to signal (use -v to see invocation)

make[2]: *** [obj/UnlimitedInstaPoints.dylib.64873355.unsigned] Error 254

make[1]: *** [internal-library-all_] Error 2

make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2 

Posted

It gave me this

 

 

clang: error: unable to execute command: Bus error: 10

clang: error: linker command failed due to signal (use -v to see invocation)

make[2]: *** [obj/UnlimitedInstaPoints.dylib.64873355.unsigned] Error 254

make[1]: *** [internal-library-all_] Error 2

make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2 

you need to sign stuff now here's a tut: https://iosgods.com/topic/18581-how-to-get-theos-working-on-ios-9-32-bit-only/

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

    • Crazy Kick! Fun Football game v2.43.0 [ +2 APK MOD ] Currency Max
      Mod APK Game Name: Crazy Kick! Fun Football game
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.orbitalknight.ridiculousfreekick&hl=en

       

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coins

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Crazy Kick! Fun Football game v2.43.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Crazy Kick! Fun Football game By Voodoo
      Bundle ID: com.orbitalknight.ridiculousfreekick
      App Store Link: https://apps.apple.com/us/app/crazy-kick-fun-football-game/id1469889140?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

      - Auto ADS No
      - Unlimited Coins

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 0 replies
    • Crazy Kick! Fun Football game v2.43.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Crazy Kick! Fun Football game By Voodoo
      Bundle ID: com.orbitalknight.ridiculousfreekick
      App Store Link: https://apps.apple.com/us/app/crazy-kick-fun-football-game/id1469889140?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coins
      • 0 replies
    • Super Goal: Fun Soccer Game v0.2.39 [ +2 APK MOD ] Currency Max
      Mod APK Game Name: Super Goal: Fun Soccer Game
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.soccer.football.kick&hl=en

       

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Coins

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Super Goal: Fun Soccer Game v1.6.8 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Super Goal: Fun Soccer Game By Gamegou Limited
      Bundle ID: com.soccer.football.kick.crazy
      App Store Link: https://apps.apple.com/us/app/super-goal-fun-soccer-game/id1612182545?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

      - Auto ADS NO
      - Unlimited Coins

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 1 reply
    • Super Goal: Fun Soccer Game v1.6.8 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Super Goal: Fun Soccer Game By Gamegou Limited
      Bundle ID: com.soccer.football.kick.crazy
      App Store Link: https://apps.apple.com/us/app/super-goal-fun-soccer-game/id1612182545?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Coins
      • 0 replies
    • (Jujutsu Kaisen: Phantom Parade) 呪術廻戦 ファントムパレード +5 Cheats
      Mod APK Game Name: 呪術廻戦 ファントムパレード By Sumzap Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=jp.co.sumzap.pj0014

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Unlimited BP
      - Unlimited EN
      - Special Skill Always Active

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 1 reply
    • Star Blaster Offline Roguelike +2++ Mods [ Unlimited Currencies ]
      Mod APK Game Name: Star Blaster Offline Roguelike By Enigma Publishing Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.starblaster.atwo.epl.gp

       

      🤩 Hack Features

      - Unlimited Currencies
      - Freeze Currencies
      • 0 replies
    • Grand Hotel Mania +1++ Mod [ Unlimited Lives ]
      Mod APK Game Name: Grand Hotel Mania By DeusCraft
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.deuscraft.TurboTeam

       

      🤩 Hack Features

      - Unlimited Lives
      • 0 replies
    • Grand Hotel Mania +1 Jailed Cheat [ Unlimited Lives ]
      Modded/Hacked App: Grand Hotel Mania By DCGamePub Limited
      Bundle ID: com.deuscraft.TurboTeam
      App Store Link: https://apps.apple.com/us/app/grand-hotel-mania-my-manager/id1505041919?uo=4

       


      🤩 Hack Features

      - Unlimited Lives
      • 0 replies
    • Heavenfall Arena +1++ Mod [ Unlimited Currencies ]
      Mod APK Game Name: Heavenfall Arena By Gamee Global
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gamee.heavenfall.arena.idle.rpg.journey.summon.heroes.strategy

       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
        • Agree
        • Like
      • 0 replies
    • Pond Pals +1++ Mod [ Unlimited Currencies ]
      Mod APK Game Name: Pond Pals By HyperBeard
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.hyperbeard.pondpals

       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      • 3 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