尝试使用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,但它无法正常工作。任何建议表示感谢。
答案 0 :(得分:0)
尝试 包括$(THEOS_MAKE_PATH)/而不是/ var / theos /
同时尝试将目标列为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)