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

 时间:2024-11-18 00:50:51

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怎么编译运行
  • 热门搜索
    面条的做法大全家常 大型网络游戏大全 鲜辣椒的腌制方法 贝尔地板质量怎么样 折旧方法 解梦大全查询自已梦见 土豆炖牛腩的家常做法 1一6年级画画图片大全 莲藕怎么炒好吃 家常菜菜单