Libtool Build Failure

I'm getting the following error while trying an Xcode build. I'm using the flags
-x -r --debug-swift --skip-build-benchmark

** BUILD FAILED **

The following build commands failed:
        Libtool /Volumes/afrazHD/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/stdlib/public/Swift.build/Debug/swiftDemangling-macosx-arm64.build/libswiftDemangling-macosx-arm64.a normal x86_64
(1 failure)
ERROR: command terminated with a non-zero exit status 65, abortingwift.build

I'm not sure what might be causing this. Thanks!

3 Likes

I was running into this issue for a while too. Adding the flag --swift-darwin-supported-archs="x86_64" fixed this for me.

3 Likes
Terms of Service

Privacy Policy

Cookie Policy