Solve the issue about cannot open iOS simulator in Android Studio

2020-04-22

Start using Flutter in our new project. Record some of the issues and solutions.

One of the weird things that happened recently, is that although iOS simulator is opened, it still cannot be selected as deploy target in Android Studio. The opened iOS simulator not shown in the list.

At this time, try to check the simulator version, with the current selected Xcode version.

xcode-select -p                                                        
/Applications/Xcode-11.3.app/Contents/Developer
// Should be same as opened simulator version as below image.