Jump to content

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


Go to solution Solved by Joka,

6 posts in this topic

Recommended Posts

Posted (edited)

Hi,

So I accidentally deleted Theos from /var/ and so I decided to add Theos back in again.

I can create a project, but when I go to compile, I receive this error:

/bin/sh: //var/mobile/carx/theos/bin/target.pl: Permission denied
theos/makefiles/common.mk:103: *** You did not specify a target, and the "iphone" platform does not define a default target.  Stop.

I don't know what to do :3 there's no files to change since they've already been changed.

Thanks for the help!

Updated by Joka
New error.
Posted
1 hour ago, Ted2 said:

This is what @DiDA say's about theos premissions issues:

KZ3xdPe.png

For the error under the premission thingy, see thsis:

 

Didn't work :pepe:

  • Solution
Posted
9 minutes ago, Ted2 said:

Reinstall theos? :/

I just set the permissions to all the files in /theos/bin to 0755 :p

And it worked <3

Posted

I'm still getting an error. Does anyone know how to fix this?

Last login: Fri May 11 23:27:35 on ttys000
Dylans-iPhone:~ mobile$ /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 1
Project Name (required): hello
Package Name [com.yourcompany.hello]: 
Author/Maintainer Name [Mobile User]: 
Instantiating iphone/application in hello/...
Done.
Dylans-iPhone:~ mobile$ ls
Application\ Support/  Documents/  Media/
Containers/            Downloads/  MobileSoftwareUpdate/
Darwin-arm.mk@         Library/    hello/
Dylans-iPhone:~ mobile$ cd hello
Dylans-iPhone:~/hello mobile$ ls
Makefile              RootViewController.mm  main.m
Resources/            control                theos@
RootViewController.h  helloApplication.mm
Dylans-iPhone:~/hello mobile$ make package
/bin/sh: /var/mobile/hello/theos/bin/target.pl: Permission denied
theos/makefiles/common.mk:103: *** You did not specify a target, and the "iphone" platform does not define a default target.  Stop.
Dylans-iPhone:~/hello mobile$ 

 

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