1

I run flutter doctor on my Mac with Xcode 13.0 but it prompted that 'CocoaPods didn't install'.

So, I tried gem install cocoapods or sudo gem install cocoapods but it gives me Permission Error.

I also tried HomeBrew, brew install cocoapods but no luck as I run into Brew Link Error.

When I ran flutter doctor again, it gives Xcode installation is incomplete; a full installation is necessary for iOS development. Then, I deleted Xcode and CocoaPods to fresh start the installation. But it was not working.

I uninstalled HomeBrew and command line tools but it was unsuccessful.

Also, there are issues about flutter and android studio, and here is the flutter doctor output:

Terminal

And here is my Android Studio project structure: AndroidStudio project structure

2
  • please make it short and come to the point because it's difficult to read whole thing Commented Feb 21, 2022 at 16:13
  • Invalid data Clear Cache From Android Studio Commented Feb 22, 2022 at 6:01

1 Answer 1

0

as the terminal suggests you, launch the following commands:

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer sudo xcodebuild -runFirstLaunch 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.