title: Prevent "There are multiple dependencies with different sources" using CocoaPods
body: <p>I use a combination of own and external pods in several projects. If I'm developing or updating a pod, I use a Podfile.local to avoid versioning/tagging every single change. The issue here, if that I must update Podfile to comment out every pod I'm using in Podfile.local to avoid errors.</p>
  
  <p>Is there any way of telling cocoapods that should consider Podfile.local over Podfile when both files have the same pod to prevent this errors:</p>
  
  <blockquote>
    <p>Analyzing dependencies [!] There are multiple dependencies with
    different sources for <code>Analytics</code> in <code>Podfile</code>:</p>
    
    <ul>
    <li>Analytics (HEAD)</li>
    <li>Analytics (from <code>~/Documents/analytics_ios</code>)</li>
    </ul>
  </blockquote>
  
  <p>My Podfile:</p>
  
  <pre><code>source 'https://github.com/CocoaPods/Specs.git'
  source 'http://gitlab.whatever.com/podfolder/cocoapods_ios.git'
  platform :ios, '7.0'
  
  # Allows per-dev overrides
  local_podfile = "Podfile.local"
  eval(File.open(local_podfile).read) if File.exist? local_podfile
  
  pod 'Advertising/Dfp', :head
  pod 'RSSParser', :head
  pod 'DTCoreText'
  pod "AFNetworking", "~&gt; 2.0"
  pod 'OurKeyboard', :head
  pod 'VideoPlayer/GooglePrerollForAdMob', :head
  pod 'Analytics', :head
  pod 'AppVersioning', :head
  </code></pre>
  
  <p>My Podfile.local:</p>
  
  <pre><code>pod 'Analytics', :path =&gt; '~/Documents/analytics_ios'
  </code></pre>