I added the following package and it resolved the issue."@react-native-community/cli-platform-ios": "3.0.0"npm installcd iospod install