Skip to content

Instantly share code, notes, and snippets.

@uraimo
Created April 29, 2020 08:50
Show Gist options
  • Save uraimo/24d21dc97aa495dff4fdf004fe24afd4 to your computer and use it in GitHub Desktop.
Save uraimo/24d21dc97aa495dff4fdf004fe24afd4 to your computer and use it in GitHub Desktop.
How to generate Swift.xcodeproj for the apple/swift compiler without building everything

Clone the Swift compiler and all the related subprojects and then just create the build directories without compiling:

mkdir swiftlang
cd swiftlang
git clone https://github.com/apple/swift.git
./swift/utils/update-checkout --clone
cd swift
utils/build-script --release-debuginfo --xcode --skip-build

That's it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment