Jump to content

Strange Errors (On-Device Theos Install)


Go to solution Solved by Rook,

28 posts in this topic

Recommended Posts

Posted (edited)

I've got everything setup in Theos including the SDK directory, build tools, and required files, but when I run 

make package messages=yes

I get the following errors:

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
		internal-library-compile \
		_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
/User/Documents/iOSTweaks/tes/theos/bin/logos.pl -c warnings=error    tes.x > /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.m
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"/User/Documents/iOSTweaks/tes" -DTARGET_IPHONE=1 -O2 -I/User/Documents/iOSTweaks/tes/theos/include -include /User/Documents/iOSTweaks/tes/theos/Prefix.pch -Wall -Werror  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_0 -miphoneos-version-min=8.0  -fobjc-arc       -std=c99 -include "logos/logos.h" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.m -o /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.93f05f21.o
make[2]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.x.93f05f21.o] Killed: 9
make[1]: *** [internal-library-all_] Error 2
make: *** [tes.all.tweak.variables] Error 2
Zanes-iPhone:/User/Documents/iOSTweaks/tes root# 

I don't know if it makes a difference, but I'm using the CoolStar fork of Theos that's supposedly compatible for ARM64 devices.

Is anyone able to shine some light on how to fix this?

Updated by _Bool
  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

I'm guessing you're on iOS 9?

 

You would be correct.

I have (almost) the same setup on my Mac, but I'm on a road trip and being able to SSH into my phone from my Linux machine would be incredible!

Updated by _Bool
Posted (edited)

The killed: 9 error is usually fixed by signing the executables.

 

http://iosgods.com/topic/19478-how-to-fix-theos-on-ios-9-3264bit/

 

I've been instructed to use ldid for signing executables ever since the release of iOS 9, and every time it has returned an error so I thought there was no way it would change, but to my surprise ldid worked on all of those binaries. Now when I run

make package messages=yes

I get:

Zanes-iPhone:/User/Documents/iOSTweaks/tes root# make package messages=yes
Making all for tweak tes...
make -f Makefile --no-print-directory --no-keep-going \
		internal-library-compile \
		_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=tes _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="/User/Documents/iOSTweaks/tes/Packages" _THEOS_MAKE_PARALLEL=yes
clang++ -L/User/Documents/iOSTweaks/tes/theos/lib -lobjc -framework Foundation -framework CoreFoundation  -framework Foundation     -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/tes.dylib"  -isysroot "/User/Documents/iOSTweaks/tes/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress   -o "/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned" /User/Documents/iOSTweaks/tes/Packages/obj/tes.x.940a2e73.o
ld: library not found for -lobjc
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/User/Documents/iOSTweaks/tes/Packages/obj/tes.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [tes.all.tweak.variables] Error 2 

Which is a compiler error to my understanding.

Updated by _Bool
Posted

What's in your makefile?

ARCHS = armv7 armv7s arm64

TARGET = iphone:clang:latest:latest

THEOS_BUILD_DIR = Packages

include theos/makefiles/common.mk

TWEAK_NAME = tes
tes_CFLAGS = -fobjc-arc
tes_FILES = tes.x
tes_FRAMEWORKS = Foundation

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 backboardd"
Posted

The issue is this:

 

ld: library not found for -lobjc

Posted (edited)

The issue is this:

 

ld: library not found for -lobjc

 

I saw, but I don't know what this means, nor can I find any relevant information through Google.

 

I totally forgot that Google omits search results containing text after a `-` character which resulted in everything except what I wanted (how ironic). I've found that it has something to do with a missing library (libobjc.A.dylib hopefully) so if I find a copy of that and copy it to /usr/lib I should be good...right?

 

I got a copy of libobjc.A.dylib in my /usr/lib directory and the error has remained the same, I've run out of ideas.

Updated by _Bool
Posted

I saw, but I don't know what this means, nor can I find any relevant information through Google.

 

I totally forgot that Google omits search results containing text after a `-` character which resulted in everything except what I wanted (how ironic). I've found that it has something to do with a missing library (libobjc.A.dylib hopefully) so if I find a copy of that and copy it to /usr/lib I should be good...right?

 

I got a copy of libobjc.A.dylib in my /usr/lib directory and the error has remained the same, I've run out of ideas.

Do you need this Framework?

 

tes_FRAMEWORKS = Foundation

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

    • Caveman Life v1.0.2 Cheat Menu [+5 Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4


       

      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)
       
      • 4 replies
    • Caveman Life v1.0.2 Cheat Menu [+5 Jailed Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)

       
      • 2 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 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/
      • 56 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 81 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Jailed Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

      • 2 replies
    • Puzzles & Cats v1.3.0 [+5 Jailed Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4

       

      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)
      • 5 replies
    • Puzzles & Cats v1.3.0 [+5 Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4



      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)

      • 2 replies
    • Little Defenders v1.2.11 [+2 Jailed Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)
      • 2 replies
    • Little Defenders v1.2.11 [+2 Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)

      • 6 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

      • 3 replies
    • Episode: Reality Stars v1.23 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
      • 91 replies
    • Tiny Warriors Clash v1.9.16 [+5 Jailed Cheats]
      Modded/Hacked App: Tiny Warriors Clash By NLABSOFT Co., Ltd.
      Bundle ID: com.nlabsoft.defense.tinywarriors
      App Store Link: https://apps.apple.com/us/app/tiny-warriors-clash/id6499256180?uo=4



      🤩 Hack Features

      - Never Die
      - Add Meat (Enable inside battle)
      - Add Currency (Enable and spend)
      - Add Gems (Enable and spend)
      - Add Trait Points (Enable and spend)
      • 9 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