使用theos创建的tweak怎么添加DobbyX.framework

使用theos创建的tweak怎么添加DobbyX.framework
Makefile中

TWEAK_NAME_CFLAGS = -F./DobbyX.framework
TWEAK_NAME_LDFLAGS = -F./DobbyX.framework -framework DobbyX

或者

SUBPROJECTS += DobbyX.framework
include $(THEOS_MAKE_PATH)/aggregate.mk

两种都不行报错 No such file or directory

1 个赞

我看Shadow的Makefile都是这种

ARCHS ?= armv7 armv7s arm64 arm64e
TARGET ?= iphone:clang:14.5:8.0

include $(THEOS)/makefiles/common.mk
SUBPROJECTS += Shadow.framework
SUBPROJECTS += Shadow.dylib
SUBPROJECTS += ShadowSettings.bundle
SUBPROJECTS += shdw
include $(THEOS_MAKE_PATH)/aggregate.mk