![]() PS: I work on Visual Studio Code and XCode. Users/danielalakin/.rvm/rubies/ruby-3.0.0/bin/rubyĭo you know how I can solve this problem? gem install cocoapods -v 1.7.5 Install the cocoapods dependencies. The latest version of cocopads (1.8.4) doesnt respect the pod setup command on macOS catalina, so we have to use an older version until this bug is resolved. Users/danielalakin/.rvm/rubies/ruby-3.0.0/bin/gem gem install cocoapods macOS catalina Cocoapods. VS Code at /Applications/Visual Studio Code.app/ContentsĬom.-14-4 (simulator)Īnd I have the following versions and paths:.✗ Dart plugin not installed this adds Dart specific functionality. ✗ Flutter plugin not installed this adds Flutter specific functionality. Android Studio at /Applications/Android Studio.app/Contents.Xcode at /Applications/Xcode.app/Contents/Developer.Xcode - develop for iOS and macOS (Xcode 12.4) Java version OpenJDK Runtime Environment (build.Studio.app/Contents/jre/jdk/Contents/Home/bin/java Platform android-30, build-tools 30.0.2.Android SDK at /Users/danielalakin/Library/Android/sdk.Android toolchain - develop for Android devices (Android SDK Flutter version 1.20.4 at /Users/danielalakin/development/flutter.Flutter (Channel stable, 1.20.4, on macOS 11.2 20D64, locale de) In flutter doctor -v the following comes out: When I enter - flutter run - from the terminal, the following happens: When I tried to debug the app, the following error came up: I followed all the steps and did everything according to the instructions. Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.14.2/gem_make.I want to connect my app to Firebase. ![]() Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2 for inspection. To see why this extension failed to compile, please check the mkmf.log which can be found here: You have to install development tools first.įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `block in try_compile'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:534:in `with_werror'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `try_compile'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1109:in `block in have_header'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1108:in `have_header'įrom extconf.rb:10:in `system_libffi_usable?' flutter - Installing 'CocoaPods' - Stack Overflow Installing 'CocoaPods' Ask Question Asked 3 months ago Modified 29 days ago Viewed 6k times 11 ERROR: Error installing cocoapods: The last version of activesupport (> 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.3. System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. Check the mkmf.log file for more details. ![]() *** extconf.rb failed ***Ĭould not create Makefile due to some reason, probably lack of necessary System/Library/Frameworks/amework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r. This could take a while.ĮRROR: Failed to build gem native extension.Ĭurrent directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/ext/ffi_c ![]() ~ % sudo gem install cocoapodsīuilding native extensions. cocoapods - Facing error running pod install Flutter ios after changing ios platform specification in podfile - Stack Overflow Facing error running pod install Flutter ios after changing ios platform specification in podfile Ask Question Asked 2 days ago Modified 2 days ago Viewed 13 times 0 I am facing issues with running pod install. Then I tried to install cocoapods and the blow error was given. When I run flutter doctor an error occured asking to install cocoapods. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |