'swift' scheme missing from newly generated Xcode project

After getting the Swift codebase set up on a new machine, I ran a fresh Xcode build via:

utils/build-script --release-debuginfo --debug-swift --Xcode

When I open the generated Xcode project, though, the swift target is mysteriously missing from the list of available targets when I go to make a new scheme... did I miss a step somewhere, or did some configuration recently change?

Yeah, you need to now use the swift-frontend scheme. For Ninja builds, instead of running ninja swift, you can run ninja compiler or ninja swift-frontend.

1 Like

Thank you @Varun_Gandhi! Much appreciated.

FYI, I dropped a PR here to update the README with the new target names.

Terms of Service

Privacy Policy

Cookie Policy