Learning Flutter03

Flutter IOS

first app

Cookies-Mac-mini:flutterworkspace shikuanxu$ flutter create first_app

Set up the iOS simulator

Cookies-Mac-mini:~ shikuanxu$ open -a Simulator

flutter run

Cookies-Mac-mini:first_app shikuanxu$ flutter run
More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.

xushikuan’s iPhone • 99bd0acef71bad1b3679183d7cc486ef4ea3024f • ios • iOS 12.1.4
iPhone XR          • 5B9158E8-D047-4A28-898E-CBF88C861C4E     • ios • iOS 12.1 (simulator)

flutter run -d 5B9158E8-D047-4A28-898E-CBF88C861C4E

Cookies-Mac-mini:first_app shikuanxu$ flutter run -d 5B9158E8-D047-4A28-898E-CBF88C861C4E
Launching lib/main.dart on iPhone XR in debug mode...
Running Xcode build...
 ├─Assembling Flutter resources...                           0.9s
 └─Compiling, linking and signing...                         6.3s
Xcode build done.                                            8.6s
Syncing files to device iPhone XR...                             1,138ms

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on iPhone XR is available at: http://127.0.0.1:54804/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".