Jump to content

THEOS 9.3.3 iphone


Go to solution Solved by sn0wqt,

3 posts in this topic

Recommended Posts

Posted (edited)

Hello, I've been attempting to make my first Deb file with THEOS.

 

Tweak.xm:

%hook WeaponSelect

 

- (void)setAmmo:(int)fp8 {

%orig(fp8) ;

fp8=9999 ;

}

 

%end

Make file:

export TARGET = iphone

ARCHS = armv7 arm64

include /var/theos/makefiles/common.mk

TWEAK_NAME = BootCamp

BCHACK_FILES = Tweak.xm

include /var/mobile/bchack/Tweak.xm

after-install::

install.exec "killall -9 SpringBoard"

 

Error:

/var/mobile/bchack/Tweak.xm:1: *** missing separator. Stop.

Updated by Cryococo
  • Solution
Posted (edited)

Remove this line: /var/mobile/bchack/Tweak.xm

From your makefiles file bcs thats not even needed...

Its:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
TARGET_STRIP_FLAGS = -u -r -s /dev/null
GO_EASY_ON_ME = 1
#CFLAGS = -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs
include /var/theos/makefiles/common.mk

TWEAK_NAME = BCHACK
BCHACK_FILES = Tweak.xm
BCHACK_FRAMEWORKS = UIKit
BCHACK_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"
Updated by Mr PHo3niX
Posted (edited)

Remove this line: /var/mobile/bchack/Tweak.xm

From your makefiles file bcs thats not even needed...

Its:

ARCHS = armv7 arm64TARGET = iphone:clang:latest:latestTARGET_STRIP_FLAGS = -u -r -s /dev/nullGO_EASY_ON_ME = 1#CFLAGS = -fobjc-arc#THEOS_PACKAGE_DIR_NAME = debsinclude /var/theos/makefiles/common.mkTWEAK_NAME = BCHACKBCHACK_FILES = Tweak.xmBCHACK_FRAMEWORKS = UIKitBCHACK_LDFLAGS += -Wl,-segalign,4000include $(THEOS_MAKE_PATH)/tweak.mkafter-install::        install.exec "killall -9 SpringBoard"
Still getting the error. $THEOS isn't getting recognised. Updated by Cryococo

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