Skip to content
Guest Big Announcement

Theos Errors, Their Meanings and Solutions

Featured Replies

Makefile:N: theos/makefiles/common.mk: Not a directory
Makefile:N: /tweak.mk: No such file or directory

You need to add a theos sumlink in both the tweak folder and preferences folder (if you have one). A sumlink can be created using ifile by selecting a new symbolic link, naming it 'theos' and linking it to /private/var/theos/

".../theos/makefiles/targets/PPP/iphone.mk:21: *** first argument to 'word' function must be greater than 0. stop."

You haven't downloaded the required SDKS. They can be found at http://iphone.howett.net/sdks/ once downloaded, create a new folder in the theos directory named 'sdks' and unzip the sdk you downloaded. THIS MUST BE DONE ON iFILE.

ld: file too small (length=LLL) file. '.../theos/sdks/iPhoneOSX.Y.sdk/usr/ZZZ' for architecture armAAA.

You have a faulty sdk, redownload and redo the steps above. This error normally occurs when you unzipped the sdk on PC

FFF:LLL:10: fatal error: 'substrate.h' file not found
#include <substrate.h>
         ^
1 error generated.

You are missing valuable iOS headers. They can be found at https://github.com/rpetrich/iphoneheaders once downloaded, extract them to the 'include' folder inside the 'theos' directory.

Illegal instruction: 4

Occured because you have an older version of theos. Follow the tutorial here to reinstall: http://iosgods.com/topic/656-tutorialvideo-how-to-set-up-theos-on-your-idevice-ios7ios8/

theos/makefiles/common.mk:103: *** You did not specify a target, and the "" platform does not define a default target. Stop.

Your iOS device is 64 bit and theos isn't. To fix, go to theos/makefiles/platform/Darwin-arm.mk.  Rename it to Darwin-arm64.mk

then go to /theos/makefiles/target/Darwin-arm. Rename it to Darwin-arm64.

theos/makefiles/common.mk:115: *** The "iphone" target is not supported on the "" platform. Stop.

Your iOS device is 64 bit and theos isn't. To fix, go to theos/makefiles/platform/Darwin-arm.mk.  Rename it to Darwin-arm64.mk

then go to /theos/makefiles/target/Darwin-arm. Rename it to Darwin-arm64.

 

If the preference bundle isn't loading for your project, add the following line to the top of your makefile:

ARCHS = arm64 armv7

Thanks guys...Kept it short n sweet @@DiDA

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.