Skip to content
Guest Big Announcement

New and Weird Theos Compiling Error [UPDATED]

Featured Replies

I can't get this thing to work. I saw a fix similar to this but it looks like my error is different then the fix

var/mobile/sas3hack root# make package       
Makefile:6: theos/makefiles/common.mk: Not a directory                                                    
Makefile:13: /tweak.mk: No such file or directory    
Makefile:17: /aggregate.mk: No such file 
make: *** No rule to make target `/aggregate.mk'. Stop.

I entered the commands [from this topic: https://iosgods.com/topic/3330-cant-compile-prefences-bundle/ ]

export ARCHS = armv7 armv7s arm64
export TARGET = iphone:clang:7.1:7.1 

but I still get the same thing, in fact if you look at the "answer" of the topic the "make file" errors have different numbers than mine.

 

His are:

iPad-2:~/dungeonhunter4cheats root# make package
Makefile:1: theos/makefiles/common.mk: Not a directory
Makefile:6: /tweak.mk: No such file or directory
Makefile:10: /aggregate.mk: No such file or directory
make: *** No rule to make target `/aggregate.mk'.  Stop.
iPad-2:~/dungeonhunter4cheats root#

I reinstalled all the dependecies 3 times.

 

And it didn't work

 

Then I restored my iphone and installed the dependencies and it still gave me the same error.

 

These are all the dependecies I have:

apple file conduit 2

 

cydia substrate

 

darwin cc tools

 

ios toolchain

 

LD64

 

LLVM+clang

 

open ssh

 

bigboss recommended tools

 

I am pretty sure I didn't miss anything.

 

I need major help. I can't give up on compiling my first code injection!

 

I know it has to do with makefile but i dont know what to put. here is what is inside:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#CFLAGS = -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs

include $(THEOS_MAKE_PATH)/makefiles/common.mk

TWEAK_NAME = SAS3Hack
SAS3Hack_FILES = Tweak.xm
SAS3Hack_FRAMEWORKS = UIKit
SAS3Hack_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk


SUBPROJECTS += SAS3Hack
include $(THEOS_MAKE_PATH)/aggregate.mk

Updated by Crosby

  • Author

 

export THEOS=/var/theos

still not working :(

 

Do I type this in when I CD to my hack? Or just in root?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.