`pod repo update` fails on image xcode 11

Currently, in macOS builds with an image Xcode 11 (also reproduced with 11.2)

pod repo update fails (details of the error below)

It seems that it is an issue of CocoaPods fixed with version 1.8.4 released in October 2019. Currently the MacOS images use v1.8.1.

This is a known issue which is descibred in more details in :

Can we expect the version of CocoaPods to be updated in the images ?

Below is the details of the error :

Installing CocoaPods ...

+pod repo update --silent

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

```

/Users/travis/.rvm/gems/ruby-2.6.4/bin/pod repo update --silent

```

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?

### Stack

```

   CocoaPods : 1.8.1

        Ruby : ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]

    RubyGems : 3.0.6

        Host : Mac OS X 10.14.4 (18E226)

       Xcode : 11.2 (11B41)

         Git : git version 2.23.0

Ruby lib dir : /Users/travis/.rvm/rubies/ruby-2.6.4/lib

Repositories : 

```

### Plugins

```

cocoapods-deintegrate : 1.0.4

cocoapods-plugins     : 1.0.0

cocoapods-search      : 1.0.0

cocoapods-stats       : 1.1.0

cocoapods-trunk       : 1.4.1

cocoapods-try         : 1.1.0

```

### Error

```

Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/travis/.cocoapods/repos/Spec_Lock

/Users/travis/.rvm/gems/ruby-2.6.4/gems/cocoapods-1.8.1/lib/cocoapods/sources_manager.rb:118:in `initialize'

/Users/travis/.rvm/gems/ruby-2.6.4/gems/cocoapods-1.8.1/lib/cocoapods/sources_manager.rb:118:in `open'

/Users/travis/.rvm/gems/ruby-2.6.4/gems/cocoapods-1.8.1/lib/cocoapods/sources_manager.rb:118:in `update'

/Users/travis/.rvm/gems/ruby-2.6.4/gems/cocoapods-1.8.1/lib/cocoapods/command/repo/update.rb:23:in `run'

/Users/travis/.rvm/gems/ruby-2.6.4/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'

/Users/travis/.rvm/gems/ruby-2.6.4/gems/cocoapods-1.8.1/lib/cocoapods/command.rb:52:in `run'

/Users/travis/.rvm/gems/ruby-2.6.4/gems/cocoapods-1.8.1/bin/pod:55:in `<top (required)>'

/Users/travis/.rvm/gems/ruby-2.6.4/bin/pod:23:in `load'

/Users/travis/.rvm/gems/ruby-2.6.4/bin/pod:23:in `<main>'

/Users/travis/.rvm/gems/ruby-2.6.4/bin/ruby_executable_hooks:24:in `eval'

/Users/travis/.rvm/gems/ruby-2.6.4/bin/ruby_executable_hooks:24:in `<main>'

```

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:

https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+%40+rb_sysopen+-+%2FUsers%2Ftravis%2F.cocoapods%2Frepos%2FSpec_Lock&type=Issues

If none exists, create a ticket, with the template displayed above, on:

https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket:

https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!