Thanks for your attention.
To use AWS Amplify of AWS
When trying to install iOS SDK in the terminal

sudo gem install cocoapods
ERROR: While executing gem ... (Gem :: FilePermissionError)
    You don't have write permissions for the/usr/bin directory.

The above is displayed.
We will search within the scope of hitting the search, but since it has not been resolved so far, we would appreciate your advice.

Terminal MacBook Pro (Retina, Mid 2012)
pod --version

The procedure up to the trouble occurred according to the following site.
AWS Amplify

Pages we used to troubleshoot