SwiftLLVM编译问题
HellojingQiu opened this issue · 2 comments
HellojingQiu commented
- 必须
SwiftLLVM Build Preset使用的是博客中的参数, 后来看到LocalReleaseToolchain这篇帖子, 那个能直接替换名字用嘛, 还有编译完了该干啥还没有头绪....等下编译完了打开Xcode看看Toolchain里面有没有出来新的.... 用的swift 4.2心里没谱啊
LinkAllPasses.h:221:20: error: no member named 'createStringEncryptionPass' in namespace 'llvm'
错误, 先喘一会儿..
emmm, 发现少了两个方法,去翻了一下真的没有, 所以删掉再试一下...
(void) llvm::createAntiDebuggingPass();
(void) llvm::createAntiHookPass();
结果卡在这里
-- Finding version for: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-- Found version: 10.0.0.10001145
--
CMake Error at cmake/modules/SwiftComponents.cmake:98 (message):
unknown install component: swift-syntax
Call Stack (most recent call first):
CMakeLists.txt:470 (swift_configure_components)
再喘会儿...
HellojingQiu commented
Naville commented
CMake Error at cmake/modules/SwiftComponents.cmake:98 (message):
unknown install component: swift-syntax
Call Stack (most recent call first):
CMakeLists.txt:470 (swift_configure_components)
听起来像是上流源码的问题。我个人没兴趣再研究这个编译一次就要三个小时的玩意