# \[Stuck Newbie Needs Help\] Can't generate Xcode project

**URL:** <https://forums.swift.org/t/stuck-newbie-needs-help-cant-generate-xcode-project/58971>\
**Category:** Compiler\
**Tags:** xcode, build-script, help-needed, buildin-the-compiler\
**Created:** [July 15, 2022, 11:58am UTC](https://forums.swift.org/t/stuck-newbie-needs-help-cant-generate-xcode-project/58971 "2022-07-15T11:58:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anthonylatsis](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/anthonylatsis/32/39232_2.png) [@anthonylatsis](https://forums.swift.org/u/anthonylatsis)\
**Post date:** [July 16, 2022, 2:02am UTC](https://forums.swift.org/t/stuck-newbie-needs-help-cant-generate-xcode-project/58971/2 "2022-07-16T02:02:20Z")

</div>

Delete all the `build/Xcode-*` directories and try this again:

`utils/build-script --skip-build-benchmarks --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" --swift-disable-dead-stripping --release-debuginfo --xcode --skip-build`

---

_[View the full topic](https://forums.swift.org/t/stuck-newbie-needs-help-cant-generate-xcode-project/58971)._
