I have a MacBook Air.
I have installed Android studio, Xcode, VSCode, Flutter without any issue. I also managed to run a sample flutter app. In VSCode, I also installed the flutter extension.
When I opened up a flutter project with Android studio, it told me that "dart sdk" is missing. Then visited the download page for dart SDK, installed Homebrew, then installed the dart SDK. The android studio still has some issues like not running the app, but that is fine as I USE VSCode. I believe I noticed it installing Xcode command line tools as well, which i have done before.
Then I NOTICED the the flutter is not detecting Xcode. I started the iOS simulator, ran flutter devices
and it hasn't detected it.
When I run flutter doctor
I get the below errors.
-- UPDATE
The issue was sorted when I ran sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
Then I installed cocoapods as advised by flutter doctor
. There is a new flutter app which I created in this computer and I can run it in macos but when I try to run the app (working industrial app) I created in my windows it runs in Android and iOS. I GUESS there are some missing stuff.
anyway, regarding setting up this properly, is there anything else I can do? Also how can I find whether my setup is fine?