Jump to content

Need Help Getting kirb's Theos setup on iPhone 6s 9.3.3


Go to solution Solved by Rook,

5 posts in this topic

Recommended Posts

Posted (edited)

Getting some errors after installing kirb's fork. They seem kinda simple but I havent been able to figure them out attempting to set up theos on my iPhone 6s 9.3.3 but I am having trouble making packages. currently have 9.3, 9.0, and 8.1 sdks in the folder.

 

theos installed to /private/var/theos naturally

folder containing my projects is /private/var/tweaks

 

copied perl over to /usr/bin/ as necessary from this https://iosgods.com/...s-on-ios-9-933/

 

now I created a blank project using the tweak template and it is inside the tweaks folder

 

trying to verify that it can build packages properly, so I just added

TARGET := iphone:clang
ARCHS = armv7 arm64

to the fresh makefile at the top, left everything else as it is and tried to run make, this outputs


Andreass-iPhone:/var/tweaks/test root# make
Makefile:4: /makefiles/common.mk: No such file or directory
Makefile:11: /tweak.mk: No such file or directory

 

EDIT: Solution: Make sure theos is being symlinked in your project

Updated by ApolloS
Posted

You probably don't have theos symlinked to your project. Can you verify this?

 

Kirb's theos has theos symlink disabled by default.

Posted (edited)

@DiDA I believe I already did, in your original tutorial it said changed the line to

my %CONFIG = (link_theos => 1);

If that is correct then yes I have done that

Updated by ApolloS
  • Solution
Posted

@DiDA I did go and edit the file where I changed the 0 to a 1 as instructed in your original tutorial

So you do see your theos symlink there?

Posted (edited)

@ DiDA Yikes i feel dumb but I forgot to remake the project after changing that line, now I do see the theos symlink in there.

 

 

edit: fixed some dumb errors of my own causation, here is where im at now but it seems close to success

Andreass-iPhone:/var/tweaks/test root# make
==> Notice: You’re using kirb/theos. This fork was recently moved to theos/theos         , and all future development will happen there. Please run `make update-theos` w         hen you have an opportunity!
> Making all for tweak test…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7s)…
In file included from <built-in>:351:
In file included from <command line>:5:
/var/tweaks/test/theos/Prefix.pch:6:10: fatal error:
      '_Prefix/NullabilityCompat.h' file not found
        #import <_Prefix/NullabilityCompat.h>
                ^
1 error generated.
make[3]: *** [/var/tweaks/test/.theos/obj/debug/armv7s/Tweak.xm.4f9131f9.o] Erro         r 1
make[2]: *** [/var/tweaks/test/.theos/obj/debug/armv7s/test.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [test.all.tweak.variables] Error 2
Andreass-iPhone:/var/tweaks/test root#

Updated by ApolloS

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