我刚刚开始使用 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
我尽了一切努力,但这次没有运气。有人有解决办法吗?
提前致谢。
顺便说一句,我使用的是带有 XCode 3.2.3 (iphone sdk 4.0) 的 Snow Leopord 10.6.6
最佳答案
_FILES、_FRAMEWORKS 等的前缀必须与 TWEAK_NAME、BUNDLE_NAME 等相同。
因此您应该将 TWEAK_NAME 更改为 mytweak 或将前缀更改为 Sample。
关于iphone - THEOS 编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8969085/