Jump to content

Need help with Theos!


Go to solution Solved by Pro,

13 posts in this topic

Recommended Posts

Posted (edited)

I get this problem every time I run "make package" in Putty or MTerminal.

I am new to this btw.

 

theos/makefiles/common.mk:103: *** You did not specify a target, and the "" platform does not define a default target.  Stop.

 

I am on iOS 9.3.3 on an iPhone 5S and have Theos, SDKs iPhone 7.0, 8.1, 9.0 and 9.3 installed.

 

My Makefile:

include theos/makefiles/common.mk
 
TWEAK_NAME = NoAdsForN3
NoAdsForN3_FILES = Tweak.xm
 
include $(THEOS_MAKE_PATH)/tweak.mk
 
after-install::
install.exec "killall -9 SpringBoard"

 

 

Also when I type this "export TARGET = iphone:clang" into the Makefile and run "make package", this comes up:

 

iPhone-7:/var/mobile/Projects/NoAdsForN3 root# make package

/var/mobile/Projects/NoAdsForN3/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 NoAdsForN3...
/bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" |  | cut -c1-8'
/bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `echo "-DTARGET_IPHONE=1 -O2 -I/var/mobile/Projects/NoAdsForN3/theos/include -include /var/mobile/Projects/NoAdsForN3/theos/Prefix.pch -Wall -Werror -isysroot "/var/mobile/Projects/NoAdsForN3/theos/sdks/iPhoneOS9.3.sdk" -arch arm7 -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -I/usr/include                 -c warnings=error   " |  | cut -c1-8'
/bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" |  | cut -c1-8'
 Preprocessing Tweak.xm...
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.
Tweak.xm:5: error: dangling %end
make[2]: *** [obj/iphone/Tweak.xm..o] Error 255
make[1]: *** [internal-library-all_] Error 2
make: *** [NoAdsForN3.all.tweak.variables] Error 2"
 
I have also read somewhere on here iOSGods.com to change "Darwin-arm.mk" to "Darwin-arm.mk64" and the folder "Darwin-arm" to "Darwin-arm64" I have done so but it does not fix my problem.
 
I do not know what to do. Help please
Updated by Fuerza
Posted (edited)

Hi,

 

Try this makefile:

 

ARCHS = armv7 arm64

 

include theos/makefiles/common.mk
 
TWEAK_NAME = NoAdsForN3
NoAdsForN3_FILES = Tweak.xm
NoAdsForN3_FRAMEWORKS = UIKit
 
include $(THEOS_MAKE_PATH)/tweak.mk
 
after-install::
install.exec "killall -9 SpringBoard"
Updated by Amaz1ng_
Posted

Can you show me your tweak.xm?

  

We'd need to see your Tweak.xm and see why the dangling %end error is there.

This is my tweak.xm. I'm also using Flex to help with the tweak. I don't know if the last two are correct.

 

 

 

Tweak.xm:

%ReachabilityGLAds

-(bool)startnotifier {

return false;

}

%end

 

%GLAdBanner

-(id)init {

return NULL;

}

%end

 

%GLOfflineAdFullScreenAds

-(id)getAllEmbeddedFullScreenAds {

return NULL;

}

%end

  • Solution
Posted

   This is my tweak.xm. I'm also using Flex to help with the tweak. I don't know if the last two are correct.

 

 

 

Tweak.xm:

%ReachabilityGLAds

-(bool)startnotifier {

return false;

}

%end

 

%GLAdBanner

-(id)init {

return NULL;

}

%end

 

%GLOfflineAdFullScreenAds

-(id)getAllEmbeddedFullScreenAds {

return NULL;

}

%end

You're supposed to put %hook, then the class name. Example: %hook ReachabilityGLAds

Posted

It's not needed; he already has Theos installed. Just a small error in his Tweak.xm is all

you have a problem in Theos or making tweaks ?

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

    • Jurassic World Alive v3.14.53 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864


      Hack Features:
      - Dino Don't Move
      - Inf. Battery
      - VIP Enabled

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Agree
        • Like
      • 1,686 replies
    • June’s Journey: Hidden Objects v3.37.2 Jailed Cheats +2
      Modded/Hacked App: June’s Journey: Hidden Objects By wooga gmbh
      Bundle ID: net.wooga.junes-journey-hidden-object-mystery-game
      iTunes Store Link: https://apps.apple.com/us/app/junes-journey-hidden-objects/id1200391796?uo=4


      Hack Features:
      - Infinite Currencies
      - Instant Hint


      iOS Hack Download IPA Link: https://iosgods.com/topic/176104-june%E2%80%99s-journey-hidden-objects-v2946-jailed-cheats-2/
        • Like
      • 46 replies
    • Frost World v1.0.2 +8 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Frost World By Estoty LLC
      Bundle ID: com.winter.breaker
      App Store Link: https://apps.apple.com/us/app/frost-world/id6738846199?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Everything -> Will increase instead of decrease.
      - Tool Damage Multiplier
      - Speed Multiplier
      - Freeze Temperature
      - Free In-App Purchases
      • 1 reply
    • Frost World v1.0.2 +8 Cheats [ Damage & Defence ]
      Modded/Hacked App: Frost World By Estoty LLC
      Bundle ID: com.winter.breaker
      App Store Link: https://apps.apple.com/us/app/frost-world/id6738846199?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Everything -> Will increase instead of decrease.
      - Tool Damage Multiplier
      - Speed Multiplier
      - Freeze Temperature
      - Free In-App Purchases
        • Like
      • 2 replies
    • Loot Heroes v1.6.9 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - No Ads

      VIP
      - Unlimited Currencies -> Earn some.
      - Auto Win
      - Battle Pass Unlocked
      • 114 replies
    • Loot Heroes v1.6.9 +10 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - No Ads

      VIP
      - Unlimited Currencies -> Earn some.
      - Auto Win
      - Battle Pass Unlocked
      • 256 replies
    • Nightfall: Kingdom Frontier TD v1.0.404 +8 Jailed Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Nightfall: Kingdom Frontier TD v1.0.41 +8 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Haha
        • Winner
      • 95 replies
    • Dawn of Ages: Medieval Games v2.0.5 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 54 replies
    • Dawn of Ages: Medieval Games v2.0.5 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 32 replies
    • Goblins Wood: Tycoon Idle Sim v2.49.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 26 replies
    • Goblins Wood: Tycoon Idle Sim v2.49.1 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 33 replies
    • Nightfall: Kingdom Frontier TD v1.0.404 +8 Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nightfall: Kingdom Frontier TD v1.0.41 +8 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 106 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