How to open iOS Simulator in Android Studio for Flutter application

前端 未结 9 1685
臣服心动
臣服心动 2021-01-12 01:37

Today I have started learning Flutter. I am using Android Studio in Mac. I have already

  • Configured the Flutter and Dart plugins in Android studio.
  • Inst
9条回答
  •  天命终不由人
    2021-01-12 02:32

    Firstly, you have to install Xcode on your MacBook to develop Flutter apps for iOS

    To prepare to run and test your Flutter app on the iOS simulator, follow these steps:

    1. On your Mac, find the Simulator via Spotlight or by using the following command:

      open -a Simulator
      
    2. Make sure your simulator is using a 64-bit device (iPhone 5s or later) by checking the settings in the simulator’s Hardware > Device menu.

    3. Depending on your development machine’s screen size, simulated high-screen-density iOS devices might overflow your screen. Grab the corner of the simulator and drag it to change the scale. You can also use the Window > Physical Size or Window > Pixel Accurate options if your computer’s resolution is high enough.

提交回复
热议问题