Wednesday, December 7, 2022
HomeiOS Developmentios - `rescue in block in activate_dependencies': Couldn't discover 'rexml' (>= 0)...

ios – `rescue in block in activate_dependencies’: Couldn’t discover ‘rexml’ (>= 0) amongst 117 whole gem(s) (Gem::MissingSpecError)


Having a problem when operating pod set up in my ReactNative iOS utility, because the construct fails when attempting to run the emulator. These are the 2 errors that happen when doing so. Operating this domestically on a 2021 M1 Macbook Professional, and it’s my first time trying to construct a ReactNative utility, and organising the event atmosphere, so any assist in pointing me in the correct route is appreciated. In the event you want any more information, please let me know and I will do my greatest to offer it ASAP.

`rescue in block in activate_dependencies': Couldn't discover 'rexml' (>= 0) amongst 117 whole gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Customers/craigsau/.rvm/gems/ruby-2.7.5:/Customers/craigsau/.rvm/rubies/ruby-2.7.5/lib/ruby/gems/2.7.0:/decide/homebrew/Cellar/cocoapods/1.11.3/libexec' at: /decide/homebrew/Cellar/cocoapods/1.11.3/libexec/specs/CFPropertyList-3.0.5.gemspec, execute `gem env` for extra data
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1398:in `block in activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `every'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `every'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `every'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:286:in `block in activate_bin_path'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:285:in `synchronize'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:285:in `activate_bin_path'
    from /decide/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `<primary>'
Couldn't discover 'rexml' (>= 0) amongst 117 whole gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Customers/craigsau/.rvm/gems/ruby-2.7.5:/Customers/craigsau/.rvm/rubies/ruby-2.7.5/lib/ruby/gems/2.7.0:/decide/homebrew/Cellar/cocoapods/1.11.3/libexec' , execute `gem env` for extra data
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1399:in `block in activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `every'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `every'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `every'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:286:in `block in activate_bin_path'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:285:in `synchronize'
    from /decide/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:285:in `activate_bin_path'
    from /decide/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `<primary>'

tried operating the instructions
gem set up bundler
gem replace --system
however nonetheless giving the identical errors when attempting to run the pod set up command with the intention to repair the construct when attempting to run the ReactNative template via an emulator.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments