Hikari的Swift移植


#1

细节参见 HikariObfuscator/Swift


#2

mark!


#3

问一下混淆参数怎么加


#4

Swift是-Xllvm


#5

谢谢解答,不过还是报错。


#6

报错信息呢


#7

没有其他的错误信息了,就一个 failed with exit code 1


#8

加群说


#9

**** BUILD SUCCEEDED ****

  • popd

~/Development/SwiftSRC/swift

swiftpm: using standard linker

  • /Users/tom555cat/Development/SwiftSRC/swiftpm/Utilities/bootstrap --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk --release --swiftc=/Users/tom555cat/Development/SwiftSRC/build/Ninja-ReleaseAssert+stdlib-Release/swift-macosx-x86_64/bin/swiftc --sbt=/Users/tom555cat/Development/SwiftSRC/build/Ninja-ReleaseAssert+stdlib-Release/llbuild-macosx-x86_64/bin/swift-build-tool --build=/Users/tom555cat/Development/SwiftSRC/build/Ninja-ReleaseAssert+stdlib-Release/swiftpm-macosx-x86_64

— bootstrap: note: building stage1

/Users/tom555cat/Development/SwiftSRC/build/Ninja-ReleaseAssert+stdlib-Release/swiftpm-macosx-x86_64/.bootstrap/build.yaml:377:5: error: invalid arguments for command '<link-Build>'

args: []

^~~~

<unknown>:0: error: unable to load build file

— bootstrap: error: build failed with exit status 1

./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

---------------------分割线------------------------------

执行" cd ~/Development/SwiftSRC/ && ./swift/utils/build-toolchain Hikari",报这个错误,有遇到吗?


#10

Swift的编译脚本一直巨坑……往上翻翻吧