UMModuleRegistryAdapter.h not found when running React Native app in iOS simulator
For latest RN versions (RN 0.60+) errors like this should be fixed with the auto-linking and just running a pod install
.
For older versions you should try:
react-native link
in the root folder of your project
Then in Xcode Product->Clean Build
folder, restart JS server and attempt to rebuild.
If still not working double check the configs from here:
https://github.com/unimodules/react-native-unimodules
and the App.delegate
from here:
https://gist.github.com/brentvatne/1ece8c32a3c5c9d0ac3a470460c65603
Sources:
Pod install reminder was first suggested by Sandy in the below comment
pod install
didn't work for me until I added these lines to my pod file:
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
And
use_unimodules!(modules_paths: ['../node_modules'])
Then do a pod install
.
Example: https://gist.github.com/sjchmiela/6c079f2173938a9a61a7c6f053c45000