I have create sample React Native project and following the tutorial as per react native website.
I have try to run the application IOS simulator, its throwing error
In my case, just delete the build directory, Pods directory, node_modules directory and running yarn install, pod install and npx react-native run-ios solves the issue.
build
Pods
node_modules
yarn install
pod install
npx react-native run-ios