In my react-native project (react-native@0.60) in the ios/ dir I run pod install and get this error:
pod install
[!] Invalid `Podfile` file: no implicit con
maybe its related to rights issues
adding "@react-native-community/cli-platform-ios": "3.0.0" in package.json
and
sudo chown -R user .
worked for me