A few moments ago, I came across one of the weirdest errors I have come across many times while working in a React Native project.
This error message was so much that the terminal was not able to display all that message for the error log.
Immediately I sped off to run npm i
then tried to build my app on IOS with npx react-native run-ios
and the error surfaced yet again.
I remembered it showed something about pod in the message, so I quickly ran pod install
.
As the usual, it took a 'quick' few seconds and installed, then was I in a hurry to run
npx react-native run-ios
once again. It took a few seconds before finally throwing the error yet again.
This time I took a deep look in the message and found right at the bottom of the error message a few lines that said something about one of my remote configuration file.
I was pissed at myself for not noticing this initially.
I then moved on to open this workspace file from the IOS directory. Then ran the application. That was where I saw it clearly say that the smile configuration file was missing.
Strangely, I had the file, so I simply deleted it and copied it back, then once again hit the play button on Xcode and it built successfully.
I could tell that my problem was solved, but I had to ensure that it ran on my VS Code and that was it.
Did I do any extra step to have it run on VS Code? Interestingly, this time I did not have to.
Top comments (0)