# \[Xcode 12.5 RC\] No such module '\_Concurrency'

**URL:** <https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603>\
**Category:** Using Swift\
**Created:** [April 21, 2021, 10:33pm UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603 "2021-04-21T22:33:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshw](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/joshw/32/34626_2.png) [@joshw](https://forums.swift.org/u/joshw)\
**Post date:** [April 21, 2021, 10:33pm UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/1 "2021-04-21T22:33:11Z")

</div>

Hey folks, eager to tinker around with the new async/await APIs. Are those working with the new Xcode release?

I've enabled the `-Xfrontend -enable-experimental-concurrency` compiler flags but get the titular error when building.

---

<div class="post-metadata">

**Author:** ![suyashsrijan](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/suyashsrijan/32/5292_2.png) [@suyashsrijan](https://forums.swift.org/u/suyashsrijan)\
**Post date:** [April 21, 2021, 10:54pm UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/2 "2021-04-21T22:54:59Z")

</div>

I think you need to be on Swift 5.5 (Xcode 12.5 ships with Swift 5.4). I believe 5.4 only has partial support for it.

---

<div class="post-metadata">

**Author:** ![joshw](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/joshw/32/34626_2.png) [@joshw](https://forums.swift.org/u/joshw)\
**Post date:** [April 21, 2021, 11:00pm UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/3 "2021-04-21T23:00:04Z")

</div>

Ah, gotcha. Know if it's behind the flag in 5.5 or available out of the box?

---

<div class="post-metadata">

**Author:** ![Sean.Batson](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/sean.batson/32/40290_2.png) [@Sean.Batson](https://forums.swift.org/u/Sean.Batson)\
**Post date:** [April 22, 2021, 2:04am UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/4 "2021-04-22T02:04:21Z")

</div>

But await has been deprecated in Xcode 12.5 is this correct and if so what are the replacements?

#### Deprecations

- The Swift compiler emits a warning for the use of the `await` keyword as an unqualified identifier. Wrap `await` with back-ticks so Swift always treats it as an identifier, or fully qualify declarations named await. For example, add `self` anytime you reference an instance member named `await` from within the instance. ([SE-0296](https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md), 67000350)

---

<div class="post-metadata">

**Author:** ![Jon\_Shier](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jon_shier/32/921_2.png) [@Jon\_Shier](https://forums.swift.org/u/Jon_Shier)\
**Post date:** [April 22, 2021, 2:26am UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/5 "2021-04-22T02:26:29Z")

</div>

That just makes `await` a keyword in preparation for the concurrency features to come.

---

<div class="post-metadata">

**Author:** ![nilmahajan](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@nilmahajan](https://forums.swift.org/u/nilmahajan)\
**Post date:** [November 8, 2021, 12:11pm UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/6 "2021-11-08T12:11:22Z")

</div>

is there any way for backward compatibility for this? I have framework built using XCode 13.0 and want to implement it in older xcode version 12.2. Currently getting compile time error - No such module ‘\_Concurrency’

---

<div class="post-metadata">

**Author:** ![Jon\_Shier](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jon_shier/32/921_2.png) [@Jon\_Shier](https://forums.swift.org/u/Jon_Shier)\
**Post date:** [November 8, 2021, 5:20pm UTC](https://forums.swift.org/t/xcode-12-5-rc-no-such-module-concurrency/47603/7 "2021-11-08T17:20:08Z")

</div>

No, the backward deployment requires Xcode 13.2, and it's only runtime deployment, not compile time. So you'll need to conditionalize your code using `#if compiler(>=5.5.2) && canImport(_Concurrency)`. I would think that would short circuit if the compiler isn't new enough to build the concurrent code.
