# Chapter 2: async/await example issue

**URL:** <https://forums.kodeco.com/t/chapter-2-async-await-example-issue/149194>\
**Category:** Combine: Asynchronous Programming with Swift\
**Created:** [October 2, 2021, 1:42pm UTC](https://forums.kodeco.com/t/chapter-2-async-await-example-issue/149194 "2021-10-02T13:42:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daviderb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/daviderb/32/102075_2.png) [@daviderb](https://forums.kodeco.com/u/daviderb)\
**Post date:** [October 2, 2021, 1:42pm UTC](https://forums.kodeco.com/t/chapter-2-async-await-example-issue/149194/1 "2021-10-02T13:42:01Z")

</div>

With Xcode version 13.0 (13A233), the async/await example near the end of Chapter 2 doesn’t work in a playground. If you add the following import

import \_Concurrency

to the playground, it works fine.

---

<div class="post-metadata">

**Author:** ![jmdecombe](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jmdecombe/32/102075_2.png) [@jmdecombe](https://forums.kodeco.com/u/jmdecombe)\
**Post date:** [October 2, 2021, 4:17pm UTC](https://forums.kodeco.com/t/chapter-2-async-await-example-issue/149194/2 "2021-10-02T16:17:10Z")

</div>

Interesting, but I thought this import would no longer be needed once Swift 5.5 has been released, which I could verify in the playground using #if swift(\>=5.5).

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [October 2, 2021, 6:24pm UTC](https://forums.kodeco.com/t/chapter-2-async-await-example-issue/149194/3 "2021-10-02T18:24:32Z")

</div>

It wasn’t needed when we worked on the book update, unfortunately in the GM and the release version of Xcode you now need to use the import. My best guess is that this will be fixed when the new macOS is out.
