title: Having trouble installing Cocoapods on an obtained project
body: <p>I have received a project from a colleague that does not have the frameworks included in the files, I didn't think it would be that big of an issue as I have used Cocoapods in the past without ever running into any problems, however I am really having trouble with the install of these. Below is my Podfile and the error I am receiving when attempting to do a <code>pod install</code>. Can someone please tell me what is going wrong and give me some idea of how to fix it.</p>
  <p>The error log:</p>
  <pre><code>Analyzing dependencies
  Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
  Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
  Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
  [!] CocoaPods could not find compatible versions for pod &quot;React/RCTVibration&quot;:
    In Podfile:
      React/RCTVibration (from `../node_modules/react-native`)
  
  None of your spec sources contain a spec satisfying the dependency: `React/RCTVibration (from `../node_modules/react-native`)`.
  
  You have either:
   * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
   * mistyped the name or version.
   * not added the source repo that hosts the Podspec to your Podfile.
  
  [!] Automatically assigning platform `iOS` with version `9.0` on target `bestride` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`
  </code></pre>
  <p>The Podfile:</p>
  <pre><code># Uncomment the next line to define a global platform for your project
  # platform :ios, '9.0'
  
  project 'bestride.xcodeproj'
  
  target 'bestride' do
      rn_path = '../node_modules/react-native'
      rn_maps_path = '../node_modules/react-native-maps'
    
      # See http://facebook.github.io/react-native/docs/integration-with-existing-apps.html#configuring-cocoapods-dependencies
      pod 'yoga', path: &quot;#{rn_path}/ReactCommon/yoga/yoga.podspec&quot;
      pod 'React', path: rn_path, subspecs: [
        'Core',
        'CxxBridge',
        'DevSupport',
        'RCTActionSheet',
        'RCTAnimation',
        'RCTGeolocation',
        'RCTImage',
        'RCTLinkingIOS',
        'RCTNetwork',
        'RCTSettings',
        'RCTText',
        'RCTVibration',
        'RCTWebSocket',
      ]
    
      # React Native third party dependencies podspecs
      pod 'DoubleConversion', :podspec =&gt; &quot;#{rn_path}/third-party-podspecs/DoubleConversion.podspec&quot;
      pod 'glog', :podspec =&gt; &quot;#{rn_path}/third-party-podspecs/glog.podspec&quot;
      # If you are using React Native &lt;0.54, you will get the following error:
      # &quot;The name of the given podspec `GLog` doesn't match the expected one `glog`&quot;
      # Use the following line instead:
      #pod 'GLog', :podspec =&gt; &quot;#{rn_path}/third-party-podspecs/GLog.podspec&quot;
      pod 'Folly', :podspec =&gt; &quot;#{rn_path}/third-party-podspecs/Folly.podspec&quot;
    
      # react-native-maps dependencies
      pod 'react-native-maps', path: rn_maps_path
      pod 'react-native-google-maps', path: rn_maps_path  # Uncomment this line if you want to support GoogleMaps on iOS
      pod 'GoogleMaps'  # Uncomment this line if you want to support GoogleMaps on iOS
      pod 'Google-Maps-iOS-Utils' # Uncomment this line if you want to support GoogleMaps on iOS
      pod 'react-native-fbsdk', :path =&gt; '../node_modules/react-native-fbsdk'
      pod 'FBSDKCoreKit', '~&gt;4.42.0'
      pod 'FBSDKLoginKit', '~&gt;4.42.0'
      pod 'FBSDKShareKit', '~&gt;4.42.0'
      pod 'GoogleSignIn'
      pod 'RNGoogleSignin', :path =&gt; '../node_modules/react-native-google-signin'
  
      pod 'RNImageCropPicker', :path =&gt; '../node_modules/react-native-image-crop-picker'
  
      pod 'react-native-camera', :path =&gt; '../node_modules/react-native-camera'
  
      pod 'RNCAsyncStorage', :path =&gt; '../node_modules/@react-native-community/async-storage'
  
      pod 'ReactNativePermissions', :path =&gt; '../node_modules/react-native-permissions'
  
      pod 'RNSVG', :path =&gt; '../node_modules/react-native-svg'
  
      pod 'react-native-splash-screen', :path =&gt; '../node_modules/react-native-splash-screen'
      pod 'react-native-date-picker', :path =&gt; '../node_modules/react-native-date-picker'
      pod 'RNDeviceInfo', :path =&gt; '../node_modules/react-native-device-info'
  
      pod 'react-native-webview', :path =&gt; '../node_modules/react-native-webview'
  
    end
    
    post_install do |installer|
      installer.pods_project.targets.each do |target|
        if target.name == 'react-native-google-maps'
          target.build_configurations.each do |config|
            config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
          end
        end
        if target.name == &quot;React&quot;
          target.remove_from_project
        end
      end
    end
  </code></pre>