I just cmd+Q on Xcode and reopened, and seems to build now. For me this happened after a merge, and I had run: cd ios && pod deintegrate && cd .. && rm -rf node_modules && yarn install && cd ios && pod install && cd ..
- Maybe worth checking node versions as well. I was installing the packages with a wrong node version. NVM is your friend in this case.