← Back to list

Cannot run my Compose Multiplatform project in the iPhone Simulator on my Intel-based Mac [solved]

When I started working with KMP and creating my apps with Compose Multiplatform, coming mainly from the the Android expertise, I initially…

Paolo Montalto · 2026-04-14 09:03 · 4 claps · 2.6 min read paywalled
#mobile-app-development #compose-multiplatform #android #ios-development
Open on Medium ↗
Wiki topics: 📱 · Mobile Development

Cannot run my Compose Multiplatform project in the iPhone Simulator on my Intel-based Mac [solved]

When I started working with KMP and creating my apps with Compose Multiplatform, coming mainly from the the Android expertise, I initially developed and tested the app on the Android emulator and my phone. Everything worked like a charm up to when it came to launching the app on the iPhone Simulator. Switched to the iosApp run configuration, selected an iPhone Simulator from the list as a run destination, clicked the run button and the build run successfully but i got a build failed error in the messages view

It’s been not so easy to understand the reason of this message since I had a build successful message in the build view and the messages view was quite laconic.

At some point I found this few lines in the Build Log

How could it be possible that the destination I chose in the list was not found during the run phase?

I opened my iosApp project in Xcode to try and run it natively but I found that it wasn’t even possible to select a run destination

Xcode just showed a “No eligible devices connected to ‘My Mac’… ” message and generic Build targets, no simulator was listed, so I could build the project for generic devices (arm64) but not run it on the simulator, it just looked like no simulators where available.

But I had just checked the “Devices and Simulators” window in Xcode and several simulators where there.

After some searching ‘round the internet and checking the project settings I found that, in the iosApp target -> Build Settings view, the “Architectures” parameter was set to “arm64”

actually excluding any chance of running the application on my Intel-based mac since the iOS Simulator matches the architecture of the Mac it is run on.

Luckily i found that arm64 was not the only available architecture

I selected “Standard Architectures (arm64)” and found that it actually maps to the value ${ARCHS-STANDARD} that includes both x86_64 (Intel) and arm64 (Apple Silicon)

thus my local iOS Simulators magically appeared in the Xcode dropdown menu

and I was finally able to run my CMP app in Xcode and, of course, in Android Studio too.

Hope this could help some of you struggling with issues like mine.

Your experience and opinions are welcome in the comments.


메타데이터
post_id
f14d079b776b
slug
cannot-run-my-compose-multiplatform-project-in-the-iphone-simulator-on-my-intel-based-mac-solved-f14d079b776b
url
https://medium.com/@xabaras/cannot-run-my-compose-multiplatform-project-in-the-iphone-simulator-on-my-intel-based-mac-solved-f14d079b776b
canonical_url
https://medium.com/@xabaras/cannot-run-my-compose-multiplatform-project-in-the-iphone-simulator-on-my-intel-based-mac-solved-f14d079b776b
author_url
https://medium.com/@xabaras
status
ok
fetched_at
2026-06-16 19:09:56