I\'ve build a react-native application and suddenly I get this error message on my terminal during run of the command react-native run-ios. The same code work fine 10 minute
cd ios && rm Podfile.lock && pod install worked for me.
cd ios && rm Podfile.lock && pod install