Open jmagman opened 3 years ago
While using flutter attach
the connected devices show the Mac Designed for iPad, but after choosing it, it shows below:
Waiting for a connection from Flutter on Mac Designed for iPad...
The Dart VM Service was not discovered after 30 seconds. This is taking much longer than expected...
Click "Allow" to the prompt asking if you would like to find and connect devices on your local network. If you selected "Don't Allow", you can turn it on in Settings > Your App Name > Local Network. If you don't see your app in the Settings, uninstall the app and rerun to see the prompt again.
Waiting for a connection from Flutter on Mac Designed for iPad...
But there is no Local Network permission for macOS. Are there any reliable solutions? I'm debugging the App with Bluetooth equipment. If this is solved, it will not need a phone for connection.
@whywilson Can you file an issue in flutter itself (instead of the documentation website) and completely fill out the template? Thanks!
On an arm64 M1 Apple Silicon Mac, a Flutter iOS app can be run from Xcode natively as a desktop app.
The user can then
flutter attach
from the command line. The user cannotflutter run
, onlyflutter attach
to an already-running app launched from Xcode.Implemented in https://github.com/flutter/flutter/pull/84411.