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

    • Frozen Island +2 Cheats
      Mod APK Game Name: Frozen Island By Linkify Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=leyi.frozenislandpro

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ 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.
        • Winner
      • 1 reply
    • Touhou Incident Idle Clicker +1 Cheat
      Mod APK Game Name: Touhou Incident Idle Clicker By yuichiro takei
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=jp.pluszero.ihen

       

      🤩 Hack Features

      - Loot/Drop Multiplier

       

      ⬇️ 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.
        • Winner
      • 3 replies
    • Fortias Saga: Idle RPG v1.1.05 +5 Cheats
      Mod APK Game Name: Fortias Saga: Idle RPG By ONDI TECHNOLOGY JSC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ondi.fortias.saga

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Shards & Items Multiplier → Disable When Do Spending
      - Currencies Multiplier → Disable When Do Spending
      - No Ads

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 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.
        • Agree
        • Thanks
        • Winner
        • Like
      • 8 replies
    • Transcender : Idle RPG +3 Cheats
      Mod APK Game Name: Transcender : Idle RPG By Rookie Project Co., Ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.playgames.transcender

       

      🤩 Hack Features

      - Damage Multiplier
      - Never Die
      - Guest Login

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 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.
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Jurassic World Alive v3.18.34 +3 Cheats
      Mod APK Game Name: Jurassic World Alive By Ludia Games inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ludia.jw

       

      🤩 Hack Features

      - Dumb Dinos
      - Inf. Battery
      - VIP Enabled

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 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.
        • Agree
        • Haha
        • Winner
        • Like
      • 14 replies
    • Sherlock: Mystery Merge v7.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Sherlock: Mystery Merge By AppGuruz
      Bundle ID: com.appguruz.sherlock.mysterymerge
      iTunes Store Link: https://apps.apple.com/us/app/sherlock-mystery-merge/id6740312377?uo=4

      🚀 Hack Features

      - Gems [ Get & Use ]
      - Coins [ Get & Use ]
      - Energy [ Get & Use ]
      - LvL & EXP MAX [ Get & Use ]
        • Like
      • 5 replies
    • Sherlock: Mystery Merge v7.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Sherlock: Mystery Merge By AppGuruz
      Bundle ID: com.appguruz.sherlock.mysterymerge
      iTunes Store Link: https://apps.apple.com/us/app/sherlock-mystery-merge/id6740312377?uo=4

      🚀 Hack Features

      - Gems [ Get & Use ]
      - Coins [ Get & Use ]
      - Energy [ Get & Use ]
      - LvL & EXP MAX [ Get & Use ]
        • Like
      • 5 replies
    • Nonograms Katana v13.120 [ +1 Cheats ] Hint Unlimited
      Modded/Hacked App: Nonograms Katana By Ucdevs Interaction DOO
      Bundle ID: com.ucdevs.iJCross
      iTunes Store Link: https://apps.apple.com/us/app/nonograms-katana/id1037710023?uo=4

      Hack Features:
      - Hint Unlimited / Spend Some
        • Like
      • 5 replies
    • Nonograms Katana v13.120 [ +1 Jailed ] Hint Unlimited
      Modded/Hacked App: Nonograms Katana By Ucdevs Interaction DOO
      Bundle ID: com.ucdevs.iJCross
      App Store Link: https://apps.apple.com/us/app/nonograms-katana/id1037710023?uo=4

      🤩 Hack Features

      - Hint Unlimited / Spend Some
      • 0 replies
    • Cooking Live Restaurant diary v0.42.0 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Cooking Live: Restaurant diary By MATRYOSHKA GAMES CY LTD
      Bundle ID: com.matryoshka.cookingliveprod
      App Store Link: https://apps.apple.com/us/app/cooking-live-restaurant-diary/id1595075449?uo=4
      Hack Features:
      - NO ADS
      - Unlimited Gems 
      - Unlimited Coins
      - Unlimited Star
      - Groceries Max
      - Booster Max / Unlocked 
        • Thanks
        • Winner
        • Like
      • 7 replies
    • Cooking Live Restaurant diary v0.42.0 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Cooking Live: Restaurant diary By MATRYOSHKA GAMES CY LTD
      Bundle ID: com.matryoshka.cookingliveprod
      App Store Link: https://apps.apple.com/us/app/cooking-live-restaurant-diary/id1595075449?uo=4

      🤩 Hack Features

      - NO ADS
      - Unlimited Gems 
      - Unlimited Coins
      - Unlimited Star
      - Groceries Max
      - Booster Max / Unlocked 
      • 0 replies
    • Summoners War Cheats v9.1.6 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 6,957 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