vovadev.blogg.se

Cocoapods install flutter
Cocoapods install flutter




cocoapods install flutter
  1. Cocoapods install flutter update#
  2. Cocoapods install flutter license#
  3. Cocoapods install flutter download#
  4. Cocoapods install flutter mac#

  • Add it and the gems binaries to your PATH and make sure the new version is used with which ruby (should be /opt/homebrew/opt/ruby/bin/ruby instead of /usr/bin/ruby if installed with Homebrew).
  • Install your own version of Ruby with Homebrew / rbenv / RVM (e.g.
  • Is there a way to make this work for the time being? Realising it's still early for Macs with Apple Silicon. Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/bin/pod:55:in `'īased on a Github workaround, I tried to run Terminal using rosetta, but the issue remains the same: Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:238:in `resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:124:in `analyze' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface.rb:64:in `section' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies'

    cocoapods install flutter

    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

    cocoapods install flutter

    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






    Cocoapods install flutter