Hello!

My goal is to produce a compiler that I can use with Xcode. Two questions:

Is it possible for me to use the results of this invocation, which I got from the Getting Started document, to run an Xcode build?

utils/build-script --skip-build-benchmarks \
  --swift-darwin-supported-archs "$(uname -m)" \
  --sccache --release-debuginfo --swift-disable-dead-stripping \
  --bootstrapping=hosttools

I tried, but was unable to find where a .xctoolchain was produced.

And, if not, is the correct tool to use for this build-toolchain?

For context, I'm attempting to debug Building a very specific macro that references a parameter pack type crashes · Issue #74865 · swiftlang/swift · GitHub.

1 Like

Nevermind! This is explicitly covered by a section in the readme:

1 Like