如果在 pod init 時遇到錯誤 `pwd': Operation not permitted - getcwd (Errno::EPERM)
試試下面方法
You're having an issue with macOS sandboxing permissions. The easiest fix is not to use the built-in version of Ruby that ships with macOS and instead use a Ruby manager to install Ruby: