我刚刚开始尝试THEOS,发现它很好用。但不幸的是,我发现了以下错误。
theos/makefiles/common.mk:64: //makefiles/legacy.mk: No such file or directory
theos/makefiles/common.mk:77: *** You did not specify a target, and the "" platform does not define a default target. Stop.我的makefile是
SDKVERSION=5.0
TARGET=iphone
TWEAK_NAME = Sample
Sample_FILES = Tweak.xm
include theos/makefiles/common.mk
include $(THEOS_MAKE_PATH)/tweak.mk我试了所有我能做到的方法,但在这个时候没有运气。有人有解决这个问题的办法吗?
提前谢谢。
顺便说一句,我用的是雪豹10.6.6和XCode 3.2.3 (iphone SDK4.0)
发布于 2012-01-30 07:10:50
_FILES、_FRAMEWORKS等的前缀必须与TWEAK_NAME、BUNDLE_NAME等相同。
因此,您应该将TWEAK_NAME更改为mytweak或prefix to Sample。
发布于 2014-01-08 11:06:43
确保通过运行以下命令设置THEOS:
export THEOS=/opt/theos也就是说,如果将theos安装到/opt/theos
在makefile更改中
include theos/makefiles/common.mk至:
include $(THEOS)/makefiles/common.mk发布于 2012-08-15 14:35:08
你必须创建一个布局文件夹,在里面创建另一个DEBIAN文件夹,并放置一个控制文件。(假设你知道那是什么),别忘了chmod 0775文件夹和控制文件
https://stackoverflow.com/questions/8969085
复制相似问题