Build error domain=com.apple.CoreSimulator.SimError, code=405 — Solved

When building on iOS 15 Device connected to Xcode 13. I get the error

Flutter Developer

--

error Failed to launch the app on simulator, An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405): Unable to lookup in current state: Shutdown.

Console:

success Successfully built the app
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator

--

--