Created
April 25, 2019 10:43
-
-
Save wsakka/bf509501bf201c2d121ddf0ace82dec5 to your computer and use it in GitHub Desktop.
Just some fixes for issues reported by flutter doctor (not getting fixed via brew). (For Macs only)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If flutter says it needs ideviceinstaller, this should work: brew install ideviceinstaller | |
Then I got this: ✗ ios-deploy out of date (1.9.4 is required). To upgrade with Brew: | |
brew upgrade ios-deploy | |
Which I tried (and failed): | |
$ brew upgrade ios-deploy | |
Error: ios-deploy not installed | |
Already having npm installed, I ran this: npm install -g ios-deploy | |
and that worked. | |
Then flutter doctor reported this: CocoaPods out of date (1.5.0 is recommended). | |
Tried the recomendation: | |
brew upgrade cocoapods | |
Error: cocoapods not installed | |
That didn't work either, so went with: | |
sudo gem upgrade cocoapods | |
And that worked. Generally, try the recommendations from flutter doctor first and if those don't work, then those tools | |
may have been installed by other package managers, so try with those. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment