how to update cocoapods for mac code example Example: how to install pod $ sudo gem install cocoapods