UMModuleRegistryAdapter.h not found when running React Native app in iOS simulator : <p>I have a simple React Native app that I've been testing on Android and now want to test on iOS. It's using React Navigation.</p>

<p>I ran <code>npm run ios</code> but I'm getting the following error:</p>

<pre><code>info In file included from 

/Users/rbbit/reactnative/testproj1/ios/testproj1/main.m:10:

/Users/rbbit/reactnative/testproj1/ios/testproj1/AppDelegate.h:9:9: fatal error: 'UMReactNativeAdapter/UMModuleRegistryAdapter.h' file not found

#import &lt;UMReactNativeAdapter/UMModuleRegistryAdapter.h&gt;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

info 1 error generated.
</code></pre>

<p>I opened XCode but I'm basically getting the same message, nothing else that would help me debug this.</p>

<p>I do see that there is a package called react-native-adapter (<a href="https://github.com/expo/expo/tree/master/packages/%40unimodules/react-native-adapter" rel="noreferrer">https://github.com/expo/expo/tree/master/packages/%40unimodules/react-native-adapter</a>), however I'm hesitant to just install this since I followed the instructions on how to include react-navigation and didn't mention that, assuming this is related.</p>

<p>Also, that page says <code>If you are using react-native-unimodules, this package will already be installed and configured!</code>, and <code>react-native-unimodules</code> already is in my dependencies.</p>

<p>Any pointers on how to solve this? Thank you!</p>
