title: Error installing a pod - Bus Error at 0x00000001045b8000
body: <p>I'm just learning to use cocoapods and am encountering an error when trying to install a pod.</p>
  <p>Top of error:</p>
  <blockquote>
  <p>/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi/library.rb:275: [BUG] Bus Error at 0x00000001045b8000
  ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]</p>
  </blockquote>
  <p>Bottom of error:</p>
  <blockquote>
  <p>zsh: abort      pod install</p>
  </blockquote>
  <p>Have tried the following, as suggested on some threads here and GitHub:</p>
  <ul>
  <li>Uninstalling and re-installing cocoapod</li>
  <li>sudo gem install xcodeproj</li>
  <li>sudo gem update</li>
  </ul>
  <p>but nothing seems to be working; the error persists and the .xcworkspace file doesn't appear.</p>
  <p>Any help would be much appreciated. Thank you!</p>