gpt4 book ai didi

ios - Theos 不使用 Arm64 进行编译

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:10:20 32 4
gpt4 key购买 nike

我正在尝试在 Windows 8.1(64 位)上使用 Theos 打包越狱调整。如果我不指定 Arm64,它可以正常编译并在我的 iPhone 5 上运行。但不是我的 6s。控制台说了一个我不明白的大错误。任何试图使此调整以使用 64 位架构进行编译的帮助都会很棒。

生成文件:

ARCHS = armv7 armv7s arm64
test_FRAMEWORKS = UIKit
include theos/makefiles/common.mk

TWEAK_NAME = Forton
Forton_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

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

错误日志:

$ make package
/home/AbbottL/forton/theos/makefiles/targets/Cygwin/iphone.mk:38: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak Forton...
Linking tweak Forton...
ld: warning: ignoring file /home/AbbottL/forton/theos/sdks/iPhoneOS8.1.sdk/usr/lib/dylib1.o, missing required architecture arm64 in file /home/AbbottL/forton/theos/sdks/iPhoneOS8.1.sdk/usr/lib/dylib1.o (2 slices)
ld: warning: ignoring file /home/AbbottL/forton/theos/lib/libsubstrate.dylib, file was built for armv7 which is not the architecture being linked (arm64): /home/AbbottL/forton/theos/lib/libsubstrate.dylib
Undefined symbols for architecture arm64:
"_MSHookMessageEx", referenced from:
_logosLocalInit() in Tweak.xm.91812798.o
ld: symbol(s) not found for architecture arm64
armv7-apple-darwin11-clang: error: linker command failed with exit code 1 (use -v to see invocation)
/home/AbbottL/forton/theos/makefiles/instance/library.mk:27: recipe for target 'obj/Forton.dylib.1b5b9d6a.unsigned' failed
make[2]: *** [obj/Forton.dylib.1b5b9d6a.unsigned] Error 1
/home/AbbottL/forton/theos/makefiles/instance/library.mk:19: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/home/AbbottL/forton/theos/makefiles/master/rules.mk:54: recipe for target 'Forton.all.tweak.variables' failed
make: *** [Forton.all.tweak.variables] Error 2

使用 iOS 8.1 SDK

最佳答案

通过将 libsustrate 文件交换到更高版本来修复。

关于ios - Theos 不使用 Arm64 进行编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34522313/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com