【问题标题】:Theos did not specify a target errorTheos没有指定目标错误
【发布时间】: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 的初学者。这些文件是谁写的?
  • 我从github.com/coolstar/theos得到它
  • 看起来好像您应该使用目标名称参数调用 Make,例如“make iphone”或“make tune”。无论如何,您应该查看theos文档,因为我们无法从中猜测目标名称。
  • 但我阅读了文档,它说默认目标名称是 iphone。无论如何感谢您的帮助
  • 你可以尝试“make iphone”,但看起来这个构建系统确实没有有默认目标。

标签: ios makefile jailbreak theos


【解决方案1】:

试试 包括 $(THEOS_MAKE_PATH)/ 而不是 /var/theos/

还可以尝试将您的 Target 列为 TARGET = iphone:latest:7.0

最后,确保在使用构建之前,你已经设置了环境变量:-

export THEOS=/opt/theos
export THEOS_DEVICE_IP=192.168.0.2  (your phone ip)
export SKDVERVSION=7.0  (or whatever you are building for)

【讨论】:

    猜你喜欢
    • 2021-11-10
    • 2013-02-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-06
    • 2021-05-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多