Jump to content

Error making package using Theos!


Go to solution Solved by Mr_BigBoss,

7 posts in this topic

Recommended Posts

Posted

Hi,

I was wondering if someone can help me with this.

Its my first time doing it on my own :p

When i use "make package" i get error so i used "make package messages=yes" and i get this:

> Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
> clang++ -x objective-c++ -c -I"//var/mobile/db/db" -DTARGET_IPHONE=1 -O2 -I//var/mobile/db/db/theos/include -include //var/mobile/db/db/theos/Prefix.pch -Wall -Werror  -isysroot "//var/mobile/db/db/theos/sdks/iPhoneOS9.3.sdk" -arch armv7 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -I/usr/include                 -include "logos/logos.h" ./obj/Tweak.xm.mm -o obj/Tweak.xm.e772d3ba.o
> Tweak.xm:1:3: error: expected unqualified-id
>                 {
>                 ^
> 1 error generated.
> make[2]: *** [obj/Tweak.xm.e772d3ba.o] Error 1
> make[1]: *** [internal-library-all_] Error 2
> make: *** [db.all.tweak.variables] Error 2
>

 

Thanks

Posted (edited)

Now i get this:

//var/mobile/db/db/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
//var/mobile/db/db/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 db...
make -f Makefile --no-print-directory --no-keep-going \
                internal-library-compile \
                _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=db _THEOS_CURRENT_OPERATION=compile \
                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
//var/mobile/db/db/theos/bin/logos.pl -c warnings=error    Tweak.xm > ./obj/Tweak.xm.mm
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
clang++ -x objective-c++ -c -I"//var/mobile/db/db" -DTARGET_IPHONE=1 -O2 -I//var/mobile/db/db/theos/include -include //var/mobile/db/db/theos/Prefix.pch -Wall -Werror  -isysroot "//var/mobile/db/db/theos/sdks/iPhoneOS9.3.sdk" -arch armv7 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -I/usr/include                 -include "logos/logos.h" ./obj/Tweak.xm.mm -o obj/Tweak.xm.e772d3ba.o
Tweak.xm:15:3: error: use of undeclared identifier 'vm_writeData'
                vm_writeData(0xC45A80, 0x147097E5);
                ^
1 error generated.
make[2]: *** [obj/Tweak.xm.e772d3ba.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [db.all.tweak.variables] Error 2

 

@DiDA Tweak.xm looks like this now:

/* Generated using http://armconverter.com/codeinjectgenerator/ */
/* To MSHook Offsets, use http://armconverter.com/mshookgenerator/ */

#import <Foundation/Foundation.h>
#import <substrate.h>

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mrbigboss.db.plist"

inline bool GetPrefBool(NSString *key) {
    return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
    if(GetPrefBool(@"attack")) {
        vm_writeData(0xC45A80, 0x147097E5);
    } else {
}

}

Updated by Mr_BigBoss

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

    • Claw Quest: Roguelike RPG v1.1.2 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
        • Like
      • 8 replies
    • Claw Quest: Roguelike RPG v1.1.2 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
        • Winner
        • Like
      • 14 replies
    • Ninja Scroll Rush v0.2.7 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Keys +3
      - Unlimited Coins
      - Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
        • Like
      • 5 replies
    • Ninja Scroll Rush v0.2.7 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Keys +3
      - Unlimited Coins
      - Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
        • Winner
      • 3 replies
    • Merge Cats: Catopia Puzzle v1.6.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge Cats: Catopia Puzzle By Sticky Hands Inc.
      Bundle ID: com.stickyhands.mergecats
      App Store Link: https://apps.apple.com/us/app/merge-cats-catopia-puzzle/id6746182545?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Energy
        • Like
      • 4 replies
    • Merge Cats: Catopia Puzzle v1.6.3 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Merge Cats: Catopia Puzzle By Sticky Hands Inc.
      Bundle ID: com.stickyhands.mergecats
      App Store Link: https://apps.apple.com/us/app/merge-cats-catopia-puzzle/id6746182545?uo=4
      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Energy
        • Agree
        • Like
      • 5 replies
    • Portal Survivor v1.10.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
        • Informative
        • Agree
        • Like
      • 25 replies
    • Portal Survivor v1.10.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 24 replies
    • Tower And Bows v1.313 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Tower And Bows By Jisu Im
      Bundle ID: com.Jaems.TowerAndBows
      App Store Link: https://apps.apple.com/us/app/tower-and-bows/id6737190028?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - Critical DMG
      - Critical Multi
        • Thanks
      • 9 replies
    • Tower And Bows v1.313 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Tower And Bows By Jisu Im
      Bundle ID: com.Jaems.TowerAndBows
      App Store Link: https://apps.apple.com/us/app/tower-and-bows/id6737190028?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - Critical DMG
      - Critical Multi
      • 6 replies
    • Super Heavy Iron Tank v1.0.3 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Auto Win
      - Energy Unlimited
      - Auto Skip Wave
      - Quick Supply
        • Thanks
        • Winner
        • Like
      • 3 replies
    • Super Heavy Iron Tank v1.0.3 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Energy Unlimited
      - Auto Skip Wave
      - Auto Win
      - Quick Supply
        • Winner
        • Like
      • 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