# Building for simulator in version 4.0

**URL:** <https://forums.kodeco.com/t/building-for-simulator-in-version-4-0/206093>\
**Category:** Metal by Tutorials\
**Created:** [August 26, 2024, 6:39pm UTC](https://forums.kodeco.com/t/building-for-simulator-in-version-4-0/206093 "2024-08-26T18:39:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleamichael](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/oleamichael/32/110937_2.png) [@oleamichael](https://forums.kodeco.com/u/oleamichael)\
**Post date:** [August 26, 2024, 6:39pm UTC](https://forums.kodeco.com/t/building-for-simulator-in-version-4-0/206093/1 "2024-08-26T18:39:16Z")

</div>

Hi.  
The 4.0 version of this book has switched from using 2 targets - 1 for macOS and 1 for iOS to using a single muiltiplatform target - cool! But when I build and run I get a macOS app. How do I get it to build an iOS Simulator version? After lots of googling I still don’t know.

---

<div class="post-metadata">

**Author:** ![oleamichael](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/oleamichael/32/110937_2.png) [@oleamichael](https://forums.kodeco.com/u/oleamichael)\
**Post date:** [August 26, 2024, 7:03pm UTC](https://forums.kodeco.com/t/building-for-simulator-in-version-4-0/206093/2 "2024-08-26T19:03:47Z")

</div>

Doh! It’s really simple - next to the target/scheme is a platform selector. 🤷‍♂️  
Best way to get unstuck - post to a forum and you will figure out the answer almost immediately afterwards.

---

<div class="post-metadata">

**Author:** ![caroline](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/caroline/32/111867_2.png) [@caroline](https://forums.kodeco.com/u/caroline)\
**Post date:** [August 26, 2024, 9:33pm UTC](https://forums.kodeco.com/t/building-for-simulator-in-version-4-0/206093/3 "2024-08-26T21:33:41Z")

</div>

That’s always the way!
