I encountered a problem when building an iOS app with Xcode 15.0.1. When running the ‘pod install’ command in CircleCI, I received an error.
/Users/distiller/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext/array/conversions.rb:108:in
<class:Array>': undefined method
deprecator’ for ActiveSupport:Module (NoMethodError)deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
^^^^^^^^^^^
Did you mean? deprecate_constant
from /Users/distiller/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext/array/conversions.rb:8:in<top (required)>' from <internal:/Users/distiller/.rbenv/versions/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in
require’
from internal:/Users/distiller/.rbenv/versions/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:inrequire' from /Users/distiller/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/cocoapods-1.13.0/lib/cocoapods.rb:9:in
<top (required)>’
from internal:/Users/distiller/.rbenv/versions/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:inrequire' from <internal:/Users/distiller/.rbenv/versions/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in
require’
from /Users/distiller/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/cocoapods-1.13.0/bin/pod:36:in<top (required)>' from /Users/distiller/.rbenv/versions/3.1.4/bin/pod:25:in
load’
from /Users/distiller/.rbenv/versions/3.1.4/bin/pod:25:in `’
The project was working fine with Xcode 15.0.0. I attempted to change the Xcode version in the ‘config.yml’ to 15.0.0, but it still used version 15.0.1.
How can I resolve this problem?