# test_one ## 启动模拟器 ### 查看可用模拟器 ```bash flutter devices ``` ### 启动指定模拟器 ```bash # 根据设备 ID 启动 flutter emulators --launch # 或直接运行,会自动选择已连接的设备 flutter run ``` ### 常用命令 ```bash # 列出所有模拟器 xcrun simctl list devices # 启动 iOS 模拟器 open -a Simulator # 查看当前连接的设备 flutter devices ``` ## 运行应用 ```bash # debug 模式运行 flutter run # release 模式运行 flutter run --release # 指定设备运行 flutter run -d ```