'How run flutter on my device like in XCode

I have m1. I run my project from XCode on "My Mac (designed for iPad)" not in iPhone emulator. Project starts successfully and all ok.

"My Mac (designed for iPad)" - can provide access to camera (I use usb webcam). My project used device camera and debugging app more effective instead attaching real iPhone. iPhone emulator doesn't provide access to camera and I don't used it.

I want to run my flutter project from vscode on "My Mac (designed for iPad)" too.

But then I choose macOS device on debug, flutter create additional macOS folder and start empty project from it. I don't want working with macOS folder. I already have iOS folder that successfully running from XCode.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source