Swift compiler error with xcode12.3

I'm trying to compile Swift,
I am using Xcode 12.3 (release) and macOS Big Sur 11.1. I am using this command to build the Swift compiler.

utils/build-script --skip-build-benchmarks \
  --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "x86_64" \
  --sccache --release-debuginfo \       
  --xcode

getting the following output

The following build commands failed:
	CodeSign /Users/yanfanqi/Desktop/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/swift-refactor
	CodeSign /Users/yanfanqi/Desktop/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/sil-llvm-gen
	CodeSign /Users/yanfanqi/Desktop/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/sil-func-extractor
	CodeSign /Users/yanfanqi/Desktop/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/lldb-moduleimport-test
	CodeSign /Users/yanfanqi/Desktop/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/swift-remoteast-test
	CodeSign /Users/yanfanqi/Desktop/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/sil-nm
(6 failures)
ERROR: command terminated with a non-zero exit status 65, aborting

thanks!

Terms of Service

Privacy Policy

Cookie Policy