

- Cocoapods install flutter update#
- Cocoapods install flutter license#
- Cocoapods install flutter download#
- Cocoapods install flutter mac#

Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:177:in `sources' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:178:in `block in sources' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url' System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
Cocoapods install flutter mac#
It runs normally on my Intel-based Mac, but on my new Apple Silicon-based M1 Mac it fails to install pods. In this case xcode-select -reset works as pointed by akozin.I have a Flutter project that I'm trying to run on iOS.
Cocoapods install flutter update#
You may get an error message: "Can't install the software because it is not currently available from the Software Update server". I found the solution in this question, Command Line Tools not working. Sudo xcode-select -switch /Library/Developer/CommandLineTools sudo xcode-select -switch /Applications/Xcode.app

As a follow on step, you may need to reset the path to Xcode if you have several versions or want the command line tools to run without Xcode.
Cocoapods install flutter license#
The problem is that one needs to explicitly agree to the license agreement. If the above alone doesn't do it, then also run: sudo xcode-select -reset You do not need Xcode, you can install only the Command Line Tools here, it is about 130 MB (600 MB as of Xcode v14.1). (The popped Window may be behind other windows.)
Cocoapods install flutter download#
This will pop a dialogue box, Select "Install", and it will download and install the Command Line Tools package and fix the problem. Open Terminal, and run the following: xcode-select -install
