-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[error report] pod install /w m1 macbook #10518
Comments
I have the same error when doing |
do you have a MacBook Pro with a M1 processor? this fixed my issue:
|
I have MBP M1 Pro. I saw @rudyjdr answer and I modified it a bit. in regular terminal: I also had to delete Flipper lines in |
To those lazy like me, an alias for the # Intel Platform
alias intel="arch -x86_64" How to use: $ intel pod install |
We've grouped this issue related to M1 here #9907 |
I'm also getting the same error as i've new macbook pro M1 chip a day back and i'm trying to set my repo and figuring it out to find the solution. Any advise is much appreciated and very helpful. I ran this command "arch -x86_64 pod install" after setting the terminal as Rossetta and got the following errors.
|
Found the solution: Please run the following in the terminal which will fix the issue. |
Can you give more info on how to do this? I created a text file named .zshrc in my home directory and typed what you shared and saved it but when I run intel pod install I get the error that zsh common not found: intel |
I added ~/.zprofile instead and it worked |
For those coming after and having the same problem as @OmranK, I forgot to mention that after add anything on those resource files, you need to restart the instance of your terminal or re-execute them, i.e: $ source ~/.zshrc |
this solved my problem! thanks |
Hi Guys, sorry but I am new here... what means arch -x86_64? Why do we have to use something related to x86 architeture in a Macbook with M1 processor. Thanks for your help everyone! |
@cmagnoss The reason why we use Rosetta2 is that Cocoapods don’t yet support the arm64 architecture. You can use two Homebrew. One for the arm, the other for x86.
|
I reinstalled CocoaPods with Brew like in this video: https://www.youtube.com/watch?v=U8iofjQyf5A and it worked! |
This provided the perfect solution! Thanks so much. |
|
if this does not work after running these steps. run "arch -x86_64 pod install --repo-update". This worked for me! |
pod install in mac M1 got an error!! |
No it's not. You also don't need to edit your PodFile anymore to configure flipper or else. At first I could not get "pod install" running. But after updating ruby with brew and setting the path to 3.0 in my ".zshrc" it worked. I just installed everything 5 Minutes ago on my new M1 with MacOS 11.6.1 (Big Sur). So the issue was pod used the ruby installed on BigSure ruby 2.6.* but u need to use ruby 3.0 because of the ARM support. |
working for me. brew install rbenv
rbenv install 3.0.1
rbenv global 3.0.1
brew reinstall cocoapods |
Before you started having fun with installing Cocoapods depends on the system ruby version when it's installed via
|
I am getting this error, trying to update pod in the react-native application. Rosetta is enabled on this Terminal.
|
or you can just do
|
It's work for me!! |
Opening Terminal in Rosetta, then uninstalling and reinstalling Cocoapods as @CyrusZei suggested was the only thing that worked for me. |
In 2022, I just installed home brew , added this line to my .zshrc Now pod install works just fine |
I had the same problem. I needed to first run |
Install cocoapods via Homebrew will solve this. It works for Big Sur now the latest OS |
do u know what it do?? |
This works for me. $ gem install ffi -- --enable-libffi-alloc (For bundler, set a build config for ffi): $ bundle config build.ffi --enable-libffi-alloc
# Or run with `config --local` (or `config set --local` for higher version) to set locally in <project_root>/.bundle/config.
# Run `bundle config` to examine if success and correct.
# Force reinstall
$ bundle install --force No Rosetta, no x86-64, arm64 native. reference: https://bugs.ruby-lang.org/issues/17988
|
@Gene-Dana did you mean to write |
Good catch Patrick ! |
Thank you, bro! |
For anyone wondering, this is the solution! |
Nope this doesn't work for me. I have installed cocoa-pods with brew and it throws me the same for Apple M1 Pro. Solution: Setting the Command Line Tools in Xcode preference worked for me. |
[!] Automatically assigning platform /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:160:in require': cannot load such file -- ffi_c (LoadError) from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:160:in rescue in require'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:149:in require' from /Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi.rb:5:in rescue in <top (required)>'from /Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi.rb:2:in <top (required)>' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Users/fablosystem/.gem/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon.rb:3:in <top (required)>'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Users/fablosystem/.gem/ruby/2.6.0/gems/typhoeus-1.4.1/lib/typhoeus.rb:2:in <top (required)>' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:440:in download_typhoeus_impl_async'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:372:in download_and_save_with_retries_async' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:365:in download_file_async'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:338:in download_file' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:53:in refresh_metadata'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source.rb:31:in initialize' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:30:in initialize'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:315:in new' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:315:in block in source_from_path'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:322:in source_from_path' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in block in aggregate_with_repos'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in map' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in aggregate_with_repos'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:26:in aggregate' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:60:in all'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:393:in source_with_url' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/sources_manager.rb:22:in find_or_create_source_with_url'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:179:in block in sources' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:178:in map'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:178:in sources' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1081:in block in resolve_dependencies'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1080:in resolve_dependencies'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:125:in analyze' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:422:in analyze'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:244:in block in resolve_dependencies' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:243:in resolve_dependencies' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in install!'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in run' from /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in run'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in run' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in <top (required)>'from /Users/fablosystem/.gem/ruby/2.6.0/bin/pod:23:in load' from /Users/fablosystem/.gem/ruby/2.6.0/bin/pod:23:in '/Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require': cannot load such file -- ffi_c (LoadError) from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi.rb:5:in rescue in <top (required)>' from /Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi.rb:2:in <top (required)>'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Users/fablosystem/.gem/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon.rb:3:in <top (required)>' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Users/fablosystem/.gem/ruby/2.6.0/gems/typhoeus-1.4.1/lib/typhoeus.rb:2:in <top (required)>'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:440:in download_typhoeus_impl_async' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:372:in download_and_save_with_retries_async'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:365:in download_file_async' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:338:in download_file'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:53:in refresh_metadata' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source.rb:31:in initialize'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:30:in initialize' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:315:in new'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:315:in block in source_from_path' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:322:in source_from_path'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in block in aggregate_with_repos' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in map'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in aggregate_with_repos' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:26:in aggregate'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:60:in all' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:393:in source_with_url'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/sources_manager.rb:22:in find_or_create_source_with_url' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:179:in block in sources'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:178:in map' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:178:in sources'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1081:in block in resolve_dependencies' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1080:in resolve_dependencies' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:125:in analyze'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:422:in analyze' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:244:in block in resolve_dependencies'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:243:in resolve_dependencies'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in install!' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in run'from /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in run' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in run'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in <top (required)>' from /Users/fablosystem/.gem/ruby/2.6.0/bin/pod:23:in load'from /Users/fablosystem/.gem/ruby/2.6.0/bin/pod:23:in <main>' /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require': dlopen(/Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/2.6/ffi_c.bundle, 0x0009): tried: '/Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/2.6/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/2.6/ffi_c.bundle' (no such file), '/Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/2.6/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')) - /Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/2.6/ffi_c.bundle (LoadError)from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Users/fablosystem/.gem/ruby/2.6.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi.rb:3:in <top (required)>'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Users/fablosystem/.gem/ruby/2.6.0/gems/ethon-0.16.0/lib/ethon.rb:3:in <top (required)>' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Users/fablosystem/.gem/ruby/2.6.0/gems/typhoeus-1.4.1/lib/typhoeus.rb:2:in <top (required)>'from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require' from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in require'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:440:in download_typhoeus_impl_async' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:372:in download_and_save_with_retries_async'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:365:in download_file_async' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:338:in download_file'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:53:in refresh_metadata' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source.rb:31:in initialize'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:30:in initialize' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:315:in new'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:315:in block in source_from_path' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:322:in source_from_path'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in block in aggregate_with_repos' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in map'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:331:in aggregate_with_repos' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:26:in aggregate'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:60:in all' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/manager.rb:393:in source_with_url'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/sources_manager.rb:22:in find_or_create_source_with_url' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:179:in block in sources'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:178:in map' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:178:in sources'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1081:in block in resolve_dependencies' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1080:in resolve_dependencies' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:125:in analyze'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:422:in analyze' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:244:in block in resolve_dependencies'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:243:in resolve_dependencies'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in install!' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in run'from /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in run' from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in run'from /Users/fablosystem/.gem/ruby/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in <top (required)>' from /Users/fablosystem/.gem/ruby/2.6.0/bin/pod:23:in load'from /Users/fablosystem/.gem/ruby/2.6.0/bin/pod:23:in `'. I git this issue when i hit pod install command on terminal can any one help me to resolve this |
Hi @PurvaIOS. There are 2 main issues that I can see from your error log:
Instead of using the system Ruby, I recommend installing Ruby using a version manager, and then you'll be able to install Cocoapods without using |
Report
What did you do?
Run
pod install
What did you expect to happen?
Install all pod dependencies correctly.
What happened instead?
[!] Oh no, an error occurred while Analyzing dependencies
CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
Project that demonstrates the issue
Error
this is the project I cloned
https://github.com/appbrewery/Todoey-iOS13.git
The text was updated successfully, but these errors were encountered: