VSCode运行flutter时检测不到iOS模拟器

 时间:2026-04-22 13:42:48

1、首先,我们到应用程序->其他中找到终端并打开

VSCode运行flutter时检测不到iOS模拟器

2、在终端输入 flutter doctor,回车,等待命令执行完成

VSCode运行flutter时检测不到iOS模拟器

3、输入命令:sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer,回车后接着输入密码

VSCode运行flutter时检测不到iOS模拟器

4、输入命令:sudo xcodebuild -runFirstLaunch

VSCode运行flutter时检测不到iOS模拟器

5、安装cocoapods,输入命令:sudo gem install cocoapods

VSCode运行flutter时检测不到iOS模拟器

6、执行完后,打开iOS模拟器,在VSCode中就可以显示了

VSCode运行flutter时检测不到iOS模拟器

  • vscode flutter 如何真机调试
  • Flutter打包iOS白屏怎么处理?
  • Android studio(Windows系统)安装flutter
  • flutter项目使用svg图标
  • vscode怎么编译运行
  • 热门搜索
    琥珀核桃仁的家常做法 鸡胗的做法 防潮层做法 头痛怎么办快速缓解小方法 迥怎么读 豆汁的做法 葡萄英语怎么读 多宝鱼的做法大全 腰间盘突出压迫神经腿疼怎么办 猪肝汤的家常做法