CommandError: No development build(project-name) for this project is installed. Please make and install a development build on the device first.

When I start my project with yarn start (expo start --dev-client) and try to start the iOS Simulator, I get this Error:

CommandError: No development build (project-name) for this project is installed. Please make and install a development build on the device first.

I don’t understand what I’m doing wrong. It worked when I first worked on the project. Suddenly I couldn’t start the emulator anymore.

How do I make a development build? Why did it work when I created the project but stopped later?

BTW: It works correctly when I start the iOS simulator with: npx expo start --ios