![]() asdf for our dart, flutter and ruby runtimes.This will install the dependencies for flutter and asdf which we will use to install the runtimes. This could take a while depending on your download speed. You should also install xcode via the mac app store. If you don't have asdf installed already, you can follow my tutorial on how to install asdf You need to make sure you have homebrew installed and also asdf to manage runtime dependencies. Until a complete homebrew approach is released, I think this is a decent step by step approach. Moreover, we know where everything belongs and how to upgrade or uninstall if necessary. This is particularly valuable if you use different machines, or have team members in different locations. I came across too many issues, and it took a lot of stackoverflow and google searches to overcome.īy using a package manager to install dependencies and runtimes, we can share the exact same setup in different environments and automate the install and escape the above issues. I became particularly frustrated when trying to setup flutter on macOS Mojave and macOS Catalina. The official way to install the flutter and its dependencies is a mishmash of brew install, binary downloads alongside relying on system installed versions of ruby. Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.How to install Flutter on macOS using homebrew and asdf Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:243:in `resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:125:in `analyze' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in `section' Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies' Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve' Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve' Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state' ![]() Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:682:in `attempt_to_activate' Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict' Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict' Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state' Specs satisfying the `games_services (from `Flutter/ephemeral/.symlinks/plugins/games_services/macos`)` dependency were found, but they required a higher minimum deployment target. Games_services (from `Flutter/ephemeral/.symlinks/plugins/games_services/macos`) CocoaPods could not find compatible versions for pod "games_services": Could anyone please help me to solve it?įull error message: Resolving dependencies of `Podfile`ĬDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo updateĬDN: trunk Relative path: all_pods_versions_c_0_4.txt exists! Returning local because checking is only performed in repo updateĬDN: trunk Relative path: Specs/c/0/4/Flutter/3.0.0/ exists! Returning local because checking is only performed in repo updateĬDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only performed in repo updateĬDN: trunk Relative path: Specs/0/3/5/Firebase/10.10.0/ exists! Returning local because checking is only performed in repo update Before I tried to uncomment platform specification in podfiles for ios (set to 4.0) as it was required, while I was running main.dart. I am facing issues with running pod install.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |