# Build Swift Error: using unsupported Xcode version

**URL:** <https://forums.swift.org/t/build-swift-error-using-unsupported-xcode-version/50049>\
**Category:** Compiler\
**Tags:** xcode, build-script, help-needed\
**Created:** [June 27, 2021, 6:00am UTC](https://forums.swift.org/t/build-swift-error-using-unsupported-xcode-version/50049 "2021-06-27T06:00:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![benrimmington](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/benrimmington/32/695_2.png) [@benrimmington](https://forums.swift.org/u/benrimmington)\
**Post date:** [July 3, 2021, 11:57am UTC](https://forums.swift.org/t/build-swift-error-using-unsupported-xcode-version/50049/4 "2021-07-03T11:57:04Z")

</div>

I suggest using Ninja instead of Xcode (by omitting the `--xcode` flag) because it's the tried-and-tested build system for this project.

You can still use Xcode to edit and commit changes, by creating an empty xcworkspace (File → New → Workspace) inside the "swift-project" directory, and adding a folder _reference_ (File → Add Files…) of the "swift-project/swift" directory.

---

_[View the full topic](https://forums.swift.org/t/build-swift-error-using-unsupported-xcode-version/50049)._
