You may have encountered a bug in the Ruby interpreter or extension libraries June 10, 2023 by Tarik Solved by using homebrew brew install cocoapods