[CocoaPods] Rewrite slightly and update to include `rake pod:install`.