【问题标题】:Theos not compiling with Arm64Theos 不能用 Arm64 编译
【发布时间】:2015-12-30 02:57:55
【问题描述】:

我正在尝试在 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

【问题讨论】:

  • 嗯,有一个警告来自...某事...显然某些配置或诸如此类的东西将导致构建...某事...的仅 ARMv7 二进制文件,然后是链接器因为它只能找到某个东西的 ARMv7 二进制文件,所以很生气。这似乎很清楚,不幸的是,剩下的问题是iOS的东西,不明白...... ;)

标签: ios jailbreak theos arm64


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多