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

    • Snake.io - Fun Online Snake v1.21.10 [ +12 Cheats ] AI Stupid
      Modded/Hacked App: Snake.io - Fun Online Snake By Kooapps
      Bundle ID: com.amelosinteractive.snake
      iTunes Store Link: https://apps.apple.com/us/app/snake-io-fun-online-snake/id1104692136?uo=4


      Hack Features:
      - No ADS

      - AI Stupid 

      - Skin Unlocked 

      - Revive Unlimited

      - Immortal 

      - Wall Hack

      - Boss [ Size Small ] Only Event 

      - Boss [ HP 1 ] Easy Kill [ Only Event ]

      - Eat Radius

      - Eat Multiplier 

      - Eat Size Big 🔴🔵⚫ 

      - Score Multiplier [ Linked - Eat Multiplier & Eat Size & Eat Radius ]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 98 replies
    • Snake.io - Fun Online Snake v1.21.10 [ +12 Jailed ] AI Stupid
      Modded/Hacked App: Snake.io - Fun Online Snake By Kooapps
      Bundle ID: com.amelosinteractive.snake
      iTunes Store Link: https://apps.apple.com/us/app/snake-io-fun-online-snake/id1104692136?uo=4


      Hack Features:

      - No ADS

      - AI Stupid 

      - Skin Unlocked 

      - Revive Unlimited

      - Immortal 

      - Wall Hack

      - Boss [ Size Small ] Only Event 

      - Boss [ HP 1 ] Easy Kill [ Only Event ]

      - Eat Radius

      - Eat Multiplier 

      - Eat Size Big 🔴🔵⚫ 

      - Score Multiplier [ Linked - Eat Multiplier & Eat Size & Eat Radius ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
      • 128 replies
    • What Duck v1.0.64 [ +6 Cheats ] Currency Max
      Modded/Hacked App: What Duck By Nexelon inc.
      Bundle ID: com.nexelon.duckwars
      App Store Link: https://apps.apple.com/us/app/what-duck/id6744432301?uo=4

      🤩 Hack Features

      - ADS No [ Rewards Free ]

      - Currency

      - Resources

      - Battle Coins

      - Energy

      - Free Pass [ Claim Unlimited ]
      • 17 replies
    • What Duck v1.0.64 [ +6 Jailed ] Currency Max
      Modded/Hacked App: What Duck By Nexelon inc.
      Bundle ID: com.nexelon.duckwars
      App Store Link: https://apps.apple.com/us/app/what-duck/id6744432301?uo=4


      🤩 Hack Features

      - ADS No [ Rewards Free ]

      - Currency

      - Resources

      - Battle Coins

      - Energy

      - Free Pass [ Claim Unlimited ]
      • 30 replies
    • Matching Story v1.48.04 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 54 replies
    • Matching Story v1.48.04 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 62 replies
    • Skullgirls Fighting RPG V7.5.3 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 58 replies
    • Skullgirls Fighting RPG V7.5.3 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 150 replies
    • Legend of Slime: Idle RPG War v4.2.2 Jailed Cheats +28
      Modded/Hacked App: Legend of Slime: Idle RPG By LoadComplete Co., Ltd
      Bundle ID: com.loadcomplete.slimeidle
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-slime-idle-rpg/id1618701110?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:

      - High Attack (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Hp (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High HP Recovery (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Critical Hit Chance (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Critical Hit Damage (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High ASPD (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Double Shot (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Triple Shot (Upgrade Skill)


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download IPA Link:

      Hidden Content
      Download via the iOSGods App







      • 501 replies
    • Solitaire Grand Harvest v2.399.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
      • 27 replies
    • Solitaire Grand Harvest v2.399.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
      • 27 replies
    • Galaxiga - Classic 80s Arcade v10.99 [ +7 Jailed ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Hack Features:

      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ]

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ] Easy To Win PvP NO Bannnn


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 57 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