I'm new to compiler programming. I have cloned the code freshly and tried to build by following the document from Getting Started
I keep getting the following error when I tried to build for Xcode,
The following build commands failed:
PhaseScriptExecution CMake\ PostBuild\ Rules /Volumes/SSD/Documents/projects/github/swift-project/build/Xcode-RelWithDebInfoAssert/cmark-macosx-arm64/cmark.build/RelWithDebInfo/RUN_TESTS.build/Script-003C8D08B0008F35F218E126.sh \
(in target 'RUN_TESTS' from project 'cmark')
(1 failure)
ERROR: command terminated with a non-zero exit status 65, aborting
I also usually have trouble getting --xcode to work properly. Here's the command that I'm currently using successfully (although my current checkout is from Dec 18):
The following build commands failed:
CodeSign /Volumes/SSD/Documents/projects/github/swift-project/build/Xcode-DebugAssert/swift-macosx-arm64/Debug/lib/sourcekitd.framework/Versions/A/XPCServices/SourceKitService.xpc/Contents/MacOS/SourceKitService (in target 'SourceKitService' from project 'Swift')
(1 failure)
ERROR: command terminated with a non-zero exit status 65, aborting
Also, I am using Xcode 13.2.1 in macOS Monterey in M1, if that makes any difference.