react-native ios Podfile issue with "use_native_modules!" : <p>In my react-native project (react-native@0.60) in the ios/ dir I run <code>pod install</code> and get this error:</p>

<pre><code>[!] Invalid `Podfile` file: no implicit conversion of nil into String.

 #  from /Users/coryrobinson/projects/hhs2/ios/Podfile:37
 #  -------------------------------------------
 #  
 &gt;    use_native_modules!
 #  end
 #  -------------------------------------------

</code></pre>

<p>I haven't added or changed anything in this Podfile - it's all react-native generated. (I'm not experienced in iOS dev so this might be a simple fix, I just don't know what to look for :-|) Thanks for any help!</p>

<p>Here is my Podfile</p>

<pre><code>platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

target 'hhs2' do
  # Pods for hhs2
  pod 'React', :path =&gt; '../node_modules/react-native/'
  pod 'React-Core', :path =&gt; '../node_modules/react-native/React'
  pod 'React-DevSupport', :path =&gt; '../node_modules/react-native/React'
  pod 'React-fishhook', :path =&gt; '../node_modules/react-native/Libraries/fishhook'
  pod 'React-RCTActionSheet', :path =&gt; '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path =&gt; '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path =&gt; '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path =&gt; '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path =&gt; '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path =&gt; '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path =&gt; '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path =&gt; '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path =&gt; '../node_modules/react-native/Libraries/Vibration'
  pod 'React-RCTWebSocket', :path =&gt; '../node_modules/react-native/Libraries/WebSocket'
  pod 'RNFS', :path =&gt; '../node_modules/react-native-fs'

  pod 'React-cxxreact', :path =&gt; '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path =&gt; '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path =&gt; '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path =&gt; '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'yoga', :path =&gt; '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  target 'hhs2Tests' do
    inherit! :search_paths
    # Pods for testing
  end

  use_native_modules!
end

target 'hhs2-tvOS' do
  # Pods for hhs2-tvOS

  target 'hhs2-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

end
</code></pre>
