Error

Launching lib/main.dart on iPhone 8 in debug mode...
Running Xcode build...                                                  
Xcode build done.     3.1s
Failed to build iOS app
Error output from Xcode build:

xcodebuild: error: '._Runner.xcworkspace' is not a workspace file.

Could not build the application for the simulator.
Error launching application on iPhone 8.
The error says '._Runner.xcworkspace' is not a workspace file, which means the system can't read the xcworkspace file. If you are building an iOS app on VMware macOS and you are visiting the Flutter project folder via a shared folder connected by VMware tools, you need to copy the Flutter project folder to macOS disk, or the system can read the workspace file.