modify error for cocoapods install

modify error for cocoapods install