Very occasionally the Realm pod (Realm-JS) will actually build and run correctly. The majority of the time in order for it to build without the "file not found" error I have to:
- Delete derived data and project build folder
- Clean pod cache $pod cache clean --all
- Delete and reinstall yarn
- Delete and reinstall pods
- Quitting the sim (?)
Sometimes I'm going through those steps 5 times before it works. Every time I have to reinstall pods it's hours of pain trying to get Realm to build again.
- Pods version 1.10.0
- Realm version 10.2.0
- Xcode 12.3
- React Native 0.63.1
(Have tried suggestions mentioned on other SO posts and Git.)