App ran fine on React Native 0.35.0. After updating to 0.40.0 via react-native-git-upgrade I get a number of lexical/preprocessor issues when trying to build/ru
react-native-git-upgrade
I had the same issue. I have solved it by removing the Test target of my app from build scheme.