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

    • Mech Assemble v1.6.25 [+5 Jailed Cheats]
      Modded/Hacked App: Mech Assemble By ONEMT PTE. LTD.
      Bundle ID: com.ios.mecharogue.online
      App Store Link: https://apps.apple.com/us/app/mech-assemble/id6739125107?uo=4



      🤩 Hack Features

      - High Defense
      - No Reload
      • 69 replies
    • Mech Assemble v1.6.25 [+5 Cheats]
      Modded/Hacked App: Mech Assemble By ONEMT PTE. LTD.
      Bundle ID: com.ios.mecharogue.online
      App Store Link: https://apps.apple.com/us/app/mech-assemble/id6739125107?uo=4

       

      🤩 Hack Features

      - High Defense
      - No Reload
       
      • 53 replies
    • Andy Volcano: Tile Match Story v1.5.14 +7 [OP Cheats]
      Modded/Hacked App: Andy Volcano: Tile Match Story By SayGames LTD
      Bundle ID: com.playstrom.tile.match
      iTunes Store Link: https://apps.apple.com/us/app/andy-volcano-tile-match-story/id1639080259?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Infinite Health
      - Infinite Coins
      - Infinite Stars
      - Infinite Gloves
      - Infinite Boomerangs
      - Infinite Propellers
      - Infinite Bombs


      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/


      • 22 replies
    • Andy Volcano: Tile Match Story v1.5.14 +7 [OP Cheats]
      Modded/Hacked App: Andy Volcano: Tile Match Story By SayGames LTD
      Bundle ID: com.playstrom.tile.match
      iTunes Store Link: https://apps.apple.com/us/app/andy-volcano-tile-match-story/id1639080259?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:
      - Infinite Health
      - Infinite Coins
      - Infinite Stars
      - Infinite Gloves
      - Infinite Boomerangs
      - Infinite Propellers
      - Infinite Bombs


      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/


      • 20 replies
    • Gear Clicker v8.7.9 +3 [Free Upgrades]
      Modded/Hacked App: Gear Clicker By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.kb.gearclicker
      iTunes Store Link: https://apps.apple.com/us/app/gear-clicker/id6444687282?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:
      - No Popup Ads
      - Free Upgrades
      - Free Gears


      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/


      • 68 replies
    • Gear Clicker v8.7.9 +3 [Free Upgrades]
      Modded/Hacked App: Gear Clicker By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.kb.gearclicker
      iTunes Store Link: https://apps.apple.com/us/app/gear-clicker/id6444687282?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - No Popup Ads
      - Free Upgrades
      - Free Gears


      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/


      • 75 replies
    • Idle Brick Breaker v2.1.74 +3 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Idle Brick Breaker - Breakout By Tech Tree Games LLC
      Bundle ID: com.TechTreeGames.IdleBrickBreaker
      iTunes Store Link: https://apps.apple.com/us/app/idle-brick-breaker-breakout/id1522164283?uo=4


      Hack Features:
      - Infinite Cash
      - Infinite Gems
      - No reset on Prestige


      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/
      • 51 replies
    • Idle Brick Breaker v2.1.74 +3 [Currency Hack]
      Modded/Hacked App: Idle Brick Breaker - Breakout By Tech Tree Games LLC
      Bundle ID: com.TechTreeGames.IdleBrickBreaker
      iTunes Store Link: https://apps.apple.com/us/app/idle-brick-breaker-breakout/id1522164283?uo=4


      Hack Features:
      - Infinite Cash
      - Infinite Gems
      - No reset on Prestige


      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/
      • 40 replies
    • Idle Mine Dig: Drill & Collect v1.23.42 +7 [Currency Hack]
      Modded/Hacked App: Idle Mine Dig: Drill & Collect By APPS TEKNOLOJI ANONIM SIRKETI
      Bundle ID: tr.com.apps.drill.and.collect
      iTunes Store Link: https://apps.apple.com/us/app/idle-mine-dig-drill-collect/id1642304873?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

      - No Ads
      - VIP Active
      - Freeze Currency
      - Freeze Pills
      - Freeze Tickets
      - Freeze Tokens
      - All Costumes Unlocked

       

      ⬇️ iOS Hack Download Link


      • 18 replies
    • Idle Mine Dig: Drill & Collect v1.23.42 +7 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Idle Mine Dig: Drill & Collect By APPS TEKNOLOJI ANONIM SIRKETI
      Bundle ID: tr.com.apps.drill.and.collect
      iTunes Store Link: https://apps.apple.com/us/app/idle-mine-dig-drill-collect/id1642304873?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - No Ads
      - VIP Active
      - Freeze Currency
      - Freeze Pills
      - Freeze Tickets
      - Freeze Tokens
      - All Costumes Unlocked

       

      ⬇️ iOS Hack Download IPA Link


      • 19 replies
    • Pocket Land! v0.118.1 +3 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Pocket Land! By GRAND-ATTIC LIMITED
      Bundle ID: gs.hadi.pocketisland
      iTunes Store Link: https://apps.apple.com/us/app/pocket-land/id6446137216?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:
      - Freeze Currency
      - Freeze Resources


      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/


      • 83 replies
    • Pocket Land! v0.118.1 +3 [Currency Hack]
      Modded/Hacked App: Pocket Land! By GRAND-ATTIC LIMITED
      Bundle ID: gs.hadi.pocketisland
      iTunes Store Link: https://apps.apple.com/us/app/pocket-land/id6446137216?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Freeze Currency
      - Freeze Resources
      - Upgrade without Resources (Dont Abuse)


      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/


      • 45 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