简体   繁体   English

将 iOS 模拟器链接到 VS 代码

[英]Linking iOS simulator to VS Code

So I'm trying to run a flutter project on an Xcode iPhone simulator.所以我试图在 Xcode iPhone 模拟器上运行 flutter 项目。 My main issue now is the VS Code is refusing to recognize the iPhone simulator running in the background.我现在的主要问题是 VS Code 拒绝识别在后台运行的 iPhone 模拟器。 When I run flutter emulators in my vs code terminal to try to find the iPhone simulator, VS Code doesn't recognize it, for some reason.当我在我的 vs code 终端中运行 flutter 模拟器以尝试查找 iPhone 模拟器时,由于某种原因,VS Code 无法识别它。 error displayed .显示错误 Thanks in advance for the help在此先感谢您的帮助

hit command + shift + p , then find Launch Emulator and open your created emulator.点击command + shift + p ,然后找到Launch Emulator并打开您创建的模拟器。 If your pc is slow then give it some times or restart vsc.如果您的电脑很慢,请给它一些时间或重新启动 vsc。 let me know more if it fixed or not.如果它修复了,请告诉我更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM