Jump to content

Compiling Error


Go to solution Solved by Rook,

7 posts in this topic

Recommended Posts

Posted

Hey Guys. So I'm trying to compile my first MS hack but i get this error:

Fred-Gs-iPhone:/private/var/mobile/theoshacks/thedrowning root# make package install
/private/var/mobile/theoshacks/thedrowning/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/private/var/mobile/theoshacks/thedrowning/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak TheDrowning...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:15:70: error: expected ';' after expression
_logos_orig$_ungrouped$UnlimitedCoins$setLotsOCoins$(self, _cmd, fp8) }
                                                                     ^
                                                                     ;
1 error generated.
make[2]: *** [obj/Tweak.xm.34be6fa1.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [TheDrowning.all.tweak.variables] Error 2

I have no idea what is the problem. Please help :)

 

Thank you <3:hug:

Posted

@@Fred22

 

Inside your Tweak.xm, on line 15, you are missing a ";". Simply add it and compile.

Posted

@@Fred22

 

Inside your Tweak.xm, on line 15, you are missing a ";". Simply add it and compile.

 

I don't have line 15.

 

here is my tweak.xm

#define PLIST_PATH @"/var/mobile/Library/Preferences/TheDrowning.plist"
inline bool GetPrefBool(NSString *key)
{
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%hook UnlimitedCoins
-(void) setLotsOCoins:(int)fp8 {
if(GetPrefBool(@"kCoins")) {
%orig(9999999);
}
%orig(fp8)
}
%end
  • Solution
Posted

 

I don't have line 15.

 

here is my tweak.xm

#define PLIST_PATH @"/var/mobile/Library/Preferences/TheDrowning.plist"
inline bool GetPrefBool(NSString *key)
{
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%hook UnlimitedCoins
-(void) setLotsOCoins:(int)fp8 {
if(GetPrefBool(@"kCoins")) {
%orig(9999999);
}
%orig(fp8)
}
%end

This is the correct one:

#define PLIST_PATH @"/var/mobile/Library/Preferences/TheDrowning.plist"
inline bool GetPrefBool(NSString *key)
{
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%hook UnlimitedCoins
-(void) setLotsOCoins:(int)fp8 {
if(GetPrefBool(@"kCoins")) {
%orig(9999999);
}
%orig(fp8);
}
%end

%orig(fp8);

Posted

I don't have line 15.

 

here is my tweak.xm

#define PLIST_PATH @"/var/mobile/Library/Preferences/TheDrowning.plist"
inline bool GetPrefBool(NSString *key)
{
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%hook UnlimitedCoins
-(void) setLotsOCoins:(int)fp8 {
if(GetPrefBool(@"kCoins")) {
%orig(9999999);
}
%orig(fp8) <-----
}
%end

 

what is this ?
Posted

Ok well now another error...

 

:

Frederico-Gracianos-iPhone:/var/mobile/theoshacks/thedrowning root# make package install
/var/mobile/theoshacks/thedrowning/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/theoshacks/thedrowning/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak TheDrowning...
make[2]: Nothing to be done for `internal-library-compile'.
Making all in TheDrowning...
Making all for bundle TheDrowning...
 Copying resource directories into the bundle wrapper...
 Compiling TheDrowning.mm...
TheDrowning.mm:1:9: fatal error: 'Preferences/Preferences.h' file not found
#import <Preferences/Preferences.h>
        ^
1 error generated.
make[3]: *** [obj/TheDrowning.mm.132ba578.o] Error 1
make[2]: *** [internal-bundle-all_] Error 2
make[1]: *** [TheDrowning.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

not sure were this preference files should be.

Posted

Ok well now another error...

 

:

Frederico-Gracianos-iPhone:/var/mobile/theoshacks/thedrowning root# make package install
/var/mobile/theoshacks/thedrowning/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/theoshacks/thedrowning/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak TheDrowning...
make[2]: Nothing to be done for `internal-library-compile'.
Making all in TheDrowning...
Making all for bundle TheDrowning...
 Copying resource directories into the bundle wrapper...
 Compiling TheDrowning.mm...
TheDrowning.mm:1:9: fatal error: 'Preferences/Preferences.h' file not found
#import <Preferences/Preferences.h>
        ^
1 error generated.
make[3]: *** [obj/TheDrowning.mm.132ba578.o] Error 1
make[2]: *** [internal-bundle-all_] Error 2
make[1]: *** [TheDrowning.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

not sure were this preference files should be.

 

Search the forum for "Preferences.h" and you'll get a solution. :)

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

    • Rust Riders: Idle Apocalypse v0.1.0 [+3 Jailed Cheats]
      Modded/Hacked App: Rust Riders: Idle Apocalypse By Andriy Pidvirnyy
      Bundle ID: com.lumamind.rustriders
      App Store Link: https://apps.apple.com/us/app/rust-riders-idle-apocalypse/id6742499714?uo=4



      🤩 Hack Features

      - Instant Break
      - Never Die
      - Add Resource
      • 1 reply
    • Rust Riders: Idle Apocalypse v0.1.0 [+3 Cheats]
      Modded/Hacked App: Rust Riders: Idle Apocalypse By Andriy Pidvirnyy
      Bundle ID: com.lumamind.rustriders
      App Store Link: https://apps.apple.com/us/app/rust-riders-idle-apocalypse/id6742499714?uo=4



      🤩 Hack Features

      - Instant Break
      - Never Die
      - Add Resource
      • 0 replies
    • The Battle Cats v14.3.0 [ Cat Food + More ]
      Modded/Hacked App: The Battle Cats By ponos corporation
      Bundle ID: jp.co.ponos.battlecatsen
      App Store Link: https://apps.apple.com/us/app/the-battle-cats/id850057092?uo=4


      🤩 DIY Features

      - Cat Food

      - Cat EXP

      Booster - Energy & Other Things Same Method Use To Get Unlimited Everything
      • 4 replies
    • Gunfire Ops - War shooter v1.0.9 [+3 Jailed Cheats]
      Modded/Hacked App: Gunfire Ops - War shooter By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.sniper.crisis.tactical.shooter
      App Store Link: https://apps.apple.com/us/app/gunfire-ops-war-shooter/id6476885406?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Enable and switch page)
      - No Reload

      • 1 reply
    • Gunfire Ops - War shooter v1.0.9 [+3 Cheats]
      Modded/Hacked App: Gunfire Ops - War shooter By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.sniper.crisis.tactical.shooter
      App Store Link: https://apps.apple.com/us/app/gunfire-ops-war-shooter/id6476885406?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Enable and switch page)
      - No Reload
      • 1 reply
    • Zombie Drift Survival Racing v1.3.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Drift Survival Racing By NOSURRENDER YAZILIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.nosurrenderstudio.rougelikesurvival
      App Store Link: https://apps.apple.com/us/app/zombie-drift-survival-racing/id6702024869?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Debug Menu
      • 2 replies
    • Zombie Drift Survival Racing v1.3.1 [+6 Cheats]
      Modded/Hacked App: Zombie Drift Survival Racing By NOSURRENDER YAZILIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.nosurrenderstudio.rougelikesurvival
      App Store Link: https://apps.apple.com/us/app/zombie-drift-survival-racing/id6702024869?uo=4

       

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Debug Menu
       
      • 0 replies
    • Omega Royale - Tower Defense v1.4.0 [+2 Jailed Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4

       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 32 replies
    • Omega Royale - Tower Defense v1.4.0 [+2 Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4


       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 33 replies
    • Three Kingdoms All-Star : Idle v1.4 +3 Cheat
      Modded/Hacked App: Three Kingdoms All-Star : Idle By Highbrow
      Bundle ID: com.highbrow.games.tki
      iTunes Store Link: https://apps.apple.com/us/app/three-kingdoms-all-star-idle/id6737404289?uo=4

       


      🤩 Hack Features

      - No Skill Cooldown
      • 22 replies
    • Matchington Mansion Cheats v1.179.0 +5
      Modded/Hacked App: Matchington Mansion By Magic Tavern, Inc.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://apps.apple.com/us/app/matchington-mansion/id1216575026?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 Moves
      - Infinite Lives
      - Infinite Booster
      - Infinite Coin (Spend some/ Get some)
      - Infinite Stars (Complete task without needing Stars)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/75130-matchington-mansion-v11750-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/75127-matchington-mansion-cheats-v11770-5/
      • 795 replies
    • The Sims FreePlay Cheats v5.92.0 +5
      Modded/Hacked App: The Sims™ FreePlay By Electronic Arts
      Bundle ID: com.ea.sims3deluxe.ipad.inc
      iTunes Store Link: https://itunes.apple.com/us/app/the-sims-freeplay/id466965151?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Simcash
      - Infinite SP
      - Infinite LSP
      - Max ViP Point
      - Unlock Everything


      Hack Download Link: https://iosgods.com/topic/72103-arm64-the-sims-freeplay-cheats-v5414-4-iosgods-exclusive/
      • 3,289 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