Issue
I am writing a simple Flutter app on Windows using Android Studio. I am able to test my app on Android emulators well but I can't seem to figure how to add an iOS emulator to AVD manager nor connect to my Mac Pro and deploy to iPhone/iPad. Is that even possible? I do have a Mac Pro with Xcode installed and connected to an iPad.
Solution
In order to test your flutter app in iOS Simulator,you have to do the following installation procedures into your MacBook:
- Install Android Studio/Visual Studio Code and all the Flutter/Dart Plugins/Extensions.
- Make Sure that your XCode version is >= 9.2
- Install Flutter Bundle for Mac
- After Running the Flutter doctor in the terminal and make sure all the important dependencies are installed.
- Import the Flutter Project from the Windows to the Mac and Open it in the Android Studio/Visual Studio or Copy Paste the Code from the Windows to the Mac
main.dart
file - Open iOS Simulator and test the flutter app from the Android Studio/Visual Studio device selection
Answered By - Haileapp
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.