Jump to content

error using Theos


Go to solution Solved by Rook,

14 posts in this topic

Recommended Posts

Posted (edited)

I'm getting this error after using "make package" command: make package requires you to have a layout/ directory in the project root, containing the basic package structure, 

or a control file in the project root describing the package.

make: *** [internal-package] Error 1

 

how to solve it?

Updated by orella
Posted

i  don't have the control file in project folder after creating the project, is that normal? =S

not normal :D you must make the control file

  • Solution
Posted

Make a new file with no extension and name it 'control'

 

Add this inside:

 

Package: PackageName
Name: foldername
Depends: mobilesubstrate
Version: 1.0.0
Architecture: iphoneos-arm
Description: An awesome MobileSubstrate tweak from iOSGods.com!
Maintainer: YourName
Author: YourName
Section: Tweaks
Send the control file to the root of your project folder. Next to your tweak.xm.
Posted

what is the PackageName?

 

It's based on what you chose when making the tweak. com.iosgods.xxxx something like that.

Posted

ok thanks. And do you know how can i fix the missing control file when creating the project?

That's not really supposed to happen. Are you using a modified template?

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