title: How to fix "The target [...] is declared multiple times" after pod install?
body: <p>Working on a react-native(version 0.59.5) project, just installed cocoapods(version 1.7.5) </p>
  
  <p>Installation process:</p>
  
  <p>(from within project directory)</p>
  
  <p>-<code>sudo gem install cocoapods</code></p>
  
  <p>(from within iOS directory of project)</p>
  
  <p>-<code>pod init</code></p>
  
  <p>-<code>pod install --repo-update</code></p>
  
  <p>Result:</p>
  
  <p><code>Analyzing Dependencies</code>
  <code>[!] The Target 'ProjectName-tvOSTests' is declared multiple times.</code></p>
  
  <p>then tried <code>pod update</code> which resulted in the same 'Analyzing Dependencies' warning. There is only a Podfile and a 'Pods' directory in iOS directory. the pods directory has three sub-directories which are all empty. It seems there was a hangup during <code>pod install</code> but I don't know where to look for the duplicate declaration.</p>
  
  <p>I'm aware you should be working from within the ProjectName.xcworkspace file after a installing cocoapods, but there is no .xcworkspace file in my iOS directory of project. How do I fix this?</p>
  
  <p>EDIT: </p>
  
  <p>Podfile</p>
  
  <pre><code># Uncomment the next line to define a global platform for your project
  # platform :ios, '9.0'
  
  target 'TicTacWHOA' do
    # Comment the next line if you don't want to use dynamic frameworks
    use_frameworks!
  
    # Pods for TicTacWHOA
    pod 'Google-Mobile-Ads-SDK'
  
    target 'TicTacWHOA-tvOSTests' do
      inherit! :search_paths
      # Pods for testing
    end
  
    target 'TicTacWHOATests' do
      inherit! :search_paths
      # Pods for testing
      pod 'Google-Mobile-Ads-SDK'
    end
  
  end
  
  target 'TicTacWHOA-tvOS' do
    # Comment the next line if you don't want to use dynamic frameworks
    use_frameworks!
  
    # Pods for TicTacWHOA-tvOS
  
    target 'TicTacWHOA-tvOSTests' do
      inherit! :search_paths
      # Pods for testing
    end
  
  end
  </code></pre>