# \#Playground stopped workin in Beta 4?

**URL:** <https://forums.swift.org/t/playground-stopped-workin-in-beta-4/81262>\
**Category:** Using Swift\
**Tags:** beta\
**Created:** [July 23, 2025, 9:24am UTC](https://forums.swift.org/t/playground-stopped-workin-in-beta-4/81262 "2025-07-23T09:24:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bersaelor](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/bersaelor/32/12504_2.png) [@Bersaelor](https://forums.swift.org/u/Bersaelor)\
**Post date:** [July 23, 2025, 9:24am UTC](https://forums.swift.org/t/playground-stopped-workin-in-beta-4/81262/1 "2025-07-23T09:24:25Z")

</div>

So, I've been really enjoying `#Playground {}` while testing the new iOS 26 features.

As of this morning, after updating to Beta 4 they all say `Cannot find playgrounds` though.

I definitely installed iOS 26 Beta 4 simulator as well as metal runtime and I have tried selection both iOS and macOS in the selected device.

 ![Screenshot 2025-07-23 at 11.23.37](https://global.discourse-cdn.com/swift/original/3X/7/2/7201c7f284c97e2635fc8a7ae1ec497d671a62e9.png)

---

<div class="post-metadata">

**Author:** ![jonathanpenn](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jonathanpenn/32/2319_2.png) [@jonathanpenn](https://forums.swift.org/u/jonathanpenn)\
**Post date:** [July 23, 2025, 12:51pm UTC](https://forums.swift.org/t/playground-stopped-workin-in-beta-4/81262/2 "2025-07-23T12:51:06Z")

</div>

There was a known issue where Playgrounds may not work correctly without `import SwiftUI` in the same file. If you add it to this file does that work around this for now?

---

<div class="post-metadata">

**Author:** ![Bersaelor](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/bersaelor/32/12504_2.png) [@Bersaelor](https://forums.swift.org/u/Bersaelor)\
**Post date:** [July 23, 2025, 7:53pm UTC](https://forums.swift.org/t/playground-stopped-workin-in-beta-4/81262/3 "2025-07-23T19:53:06Z")

</div>

Thank you @jonathanpenn , that indeed solved it!

So I'll add `import SwiftUI` for now, even if the file doesn't use any, that fixes it.

---

<div class="post-metadata">

**Author:** ![jonathanpenn](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jonathanpenn/32/2319_2.png) [@jonathanpenn](https://forums.swift.org/u/jonathanpenn)\
**Post date:** [July 23, 2025, 7:54pm UTC](https://forums.swift.org/t/playground-stopped-workin-in-beta-4/81262/4 "2025-07-23T19:54:06Z")

</div>

Phew! Glad it works around this. That is definitely not something you should need to do. We're looking into it.
