title: Native module cannot be null. IOS
body: <p>I am not sure why this happened to my react native project when I did not install anything new. I have tried clearing all cache, inclusive of pods. Remove node_modules, did npm install again.I also tried to do react-native link.</p>
  
  <p><a href="https://i.stack.imgur.com/PfPEv.png" rel="nofollow noreferrer">screenshot of the error on simulator</a></p>
  
  <p>The log on xcode:</p>
  
  <pre><code>2017-09-23 14:22:13.600 [info][tid:main][RCTCxxBridge.mm:188] Initializing 
  &lt;RCTCxxBridge: 0x6080001b6b20&gt; (parent: &lt;RCTBridge: 0x6080002a2ca0&gt;, executor: 
  (null))
  2017-09-23 14:22:13.651 [warn][tid:main][RCTBridge.m:114] Class RCTCxxModule 
  was not exported. Did you forget to use RCT_EXPORT_MODULE()?
  2017-09-23 14:22:13.675 [info][tid:main][RCTRootView.m:302] Running 
  application test ({
      initialProps =     {
      };
      rootTag = 1;
  })
  2017-09-23 14:22:14.000 [info][tid:com.facebook.react.JavaScript] 'DISPATCH', undefined
  2017-09-23 14:22:14.008 [warn][tid:com.facebook.react.JavaScript] Warning: PropTypes has been moved to a separate package. Accessing React.PropTypes is no longer supported and will be removed completely in React 16. Use the prop-types 
  package on npm instead. (-)
  2017-09-23 14:22:14.026694+0800 test[34066:66467192] [] nw_connection_get_connected_socket_block_invoke 5 Connection has no connected handler
  2017-09-23 14:22:14.040 [warn][tid:com.facebook.react.JavaScript] Warning: React.createClass is no longer supported. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement. (-)
  2017-09-23 14:22:14.052 [info][tid:com.facebook.react.JavaScript] Running application "test" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
  2017-09-23 14:22:14.069 [error][tid:com.facebook.react.JavaScript] Native module cannot be null.
  2017-09-23 14:22:14.073 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Native module cannot be null.
  2017-09-23 14:22:14.077 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'require(324                          ).default')
  </code></pre>
  
  <p>Podfile:</p>
  
  <pre><code>source 'https://github.com/CocoaPods/Specs.git'
  
  platform :ios, '8.0'
  
  target 'test' do
  
    pod 'Yoga', :path =&gt; '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
    pod 'React', path: '../node_modules/react-native', :subspecs =&gt; [
      'Core',
      'RCTActionSheet',
      'RCTAnimation',
      'RCTGeolocation',
      'RCTImage',
      'RCTLinkingIOS',
      'RCTNetwork',
      'RCTSettings',
      'RCTText',
      'RCTVibration',
      'RCTWebSocket',
      'BatchedBridge'
    ]
  
    pod 'GoogleMaps'  # &lt;~~ remove this line if you do not want to support     GoogleMaps on iOS
    #pod 'react-native-maps', path: '../node_modules/react-native-maps'
  
  end
  </code></pre>