简体   繁体   English

Flutter中的ios模拟器怎么改?

[英]How do I change the ios simulator in Flutter?

I changed the simulator in Xcode but when I opened it on Android Studio, it always opens the same one How do I change the simulator for Flutter?我在 Xcode 中更改了模拟器,但是当我在 Android Studio 上打开它时,它总是打开同一个模拟器 如何更改 Flutter 的模拟器?

On Mac when you open simulator go to在 Mac 上打开模拟器 go 到

file->open devices->iOS...文件->打开设备->iOS...

Below is the process to add different devices.以下是添加不同设备的过程。

  1. AndroidStudio “Open iOS module in Xcode” AndroidStudio “在 Xcode 中打开 iOS 模块”

    在此处输入图像描述

  2. Xcode “Set the active scheme” Xcode “设置活动方案” 在此处输入图像描述

  3. Xcode Select a different device Xcode Select 不同的设备

    在此处输入图像描述

  4. Xcode Run Xcode 运行

  5. Now you can see another simulator running on your screen on the version which you selected.现在您可以在您选择的版本上看到另一个模拟器在您的屏幕上运行。

    在此处输入图像描述

Based from: https://medium.com/@nickota/change-version-of-iphone-in-the-simulator-android-studio-flutter-e42a6ace4df9基于: https://medium.com/@nickota/change-version-of-iphone-in-the-simulator-android-studio-flutter-e42a6ace4df9

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

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