Jump to content

Is my code correct in Tweak.xm?


Go to solution Solved by Astronaut,

15 posts in this topic

Recommended Posts

Posted

Try this

 

export TARGET = iphone

 

ARCHS = armv7 arm64

 

include theos/makefiles/common.mk

 

TWEAK_NAME = NoAdsN3

NoAdsN3_FILES = Tweak.xm

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

Posted

Try this

export TARGET = iphone

ARCHS = armv7 arm64

include theos/makefiles/common.mk

TWEAK_NAME = NoAdsN3

NoAdsN3_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::

install.exec "killall -9 SpringBoard"

I still get the same error. Makefile:13 Missing separator
  • Solution
Posted

Try this

export TARGET = iphone

ARCHS = armv7 arm64

include theos/makefiles/common.mk

TWEAK_NAME = NoAdsN3

NoAdsN3_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::

install.exec "killall -9 SpringBoard"

I believe this fixed it. The tweak works like how it's supposed to work. I tried this Makefile:

 

ARCHS = armv7 arm64 armv7s

 

export TARGET = iphone:9.3:9.3

 

include theos/makefiles/common.mk

 

TWEAK_NAME = test

test_FILES = Tweak.xm

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

 

 

But my question is:

Is this going to work with other iOS versions and devices?

Posted (edited)

But my question is:

Is this going to work with other iOS versions and devices?

Yeah, that what the ARCHS = armv7 arm64 armv7s does :)

Updated by Crypto

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