【发布时间】:2014-01-31 17:10:13
【问题描述】:
尝试使用 theos 进行调整并出现此错误
/var/theos/makefiles/common.mk:103: *** You did not specify a target, and the "i phone" platform does not define a default target. Stop.
我的Makefile如图
ARCHS = armv7 armv7s
SDKVERSION = 7.0
TARGET = iphone:7.0
include /var/theos/makefiles/common.mk
BUNDLE_NAME = sometweak
bustiming_FILES = Toggle.xm
bustiming_INSTALL_PATH = /Library/Application Support/CCToggles/Toggles
include $(THEOS_MAKE_PATH)/bundle.mk
不确定我错过了什么,我搜索了多个网站,他们说这是因为 Makefile 中缺少 TARGET 但它不起作用。感谢任何建议。
【问题讨论】:
-
我认为您是 Make 的初学者。这些文件是谁写的?
-
看起来好像您应该使用目标名称参数调用 Make,例如“make iphone”或“make tune”。无论如何,您应该查看theos文档,因为我们无法从中猜测目标名称。
-
但我阅读了文档,它说默认目标名称是 iphone。无论如何感谢您的帮助
-
你可以尝试“make iphone”,但看起来这个构建系统确实没有有默认目标。
标签: ios makefile jailbreak theos