title: iOS cocoapods upgrade from Fabric Crashlytics to Firebase Crashlytics
body: <p>I'm working with an app that has uses Fabric Crashlytics and Google Analytics v3. These are the pods included in its podfile:</p>
  <pre><code>pod 'PromiseKit', '~&gt; 4.4'
  pod 'CryptoSwift', '~&gt; 0.9.0'
  pod 'Kingfisher', '~&gt; 4.7.0'
  pod 'KeychainAccess', '~&gt; 3.1.1'
  pod 'Google/Analytics', '~&gt; 3.1.0'
  pod 'Cosmos', '~&gt; 15.0.0'
  pod 'Alamofire', '~&gt; 4.7.2'
  pod 'FRHyperLabel', '~&gt; 1.0.4'
  pod 'RealmSwift', '~&gt; 4.4.0'
  pod 'Realm', '~&gt; 4.4.0'
  pod 'Fabric', '~&gt; 1.9.0'
  pod 'Crashlytics', '~&gt; 3.12.0'
  pod 'Bolts', '~&gt; 1.9.0'
  pod 'FBSDKCoreKit', '~&gt; 4.36.0'
  pod 'FacebookCore', '~&gt; 0.3.3'
  pod 'CleverTap-iOS-SDK', '~&gt; 3.7.3'
  pod 'Branch', '~&gt; 0.29.3'
  pod 'TPKeyboardAvoiding', '~&gt; 1.3.2'
  pod 'Firebase', '~&gt; 3.17.0'
  pod 'GoogleTagManager' , '~&gt; 5.0.8'
  </code></pre>
  <p>I have to update Crahslytics from Fabric to Firebase before 15/November. I would like to change the app as less as possible, so I would like to keep using Google Analytics v3, the same versions, etc...</p>
  <p>I've changed this:</p>
  <pre><code>pod 'Fabric', '~&gt; 1.9.0'
  pod 'Crashlytics', '~&gt; 3.12.0'
  </code></pre>
  <p>to this:</p>
  <pre><code>pod 'Firebase/Crashlytics'
  </code></pre>
  <p>And run a pod update but got this error:</p>
  <pre><code>[!] CocoaPods could not find compatible versions for pod &quot;Firebase/Crashlytics&quot;:
    In Podfile:
      Firebase/Crashlytics
  
  None of your spec sources contain a spec satisfying the dependency: `Firebase/Crashlytics`.
  </code></pre>
  <p>This is due to a conflict with pod 'Firebase', '~&gt; 3.17.0', so I removed the specific version and the podfile now looks like this:</p>
  <pre><code>pod 'Firebase/Crashlytics'
  pod 'PromiseKit', '~&gt; 4.4'
  pod 'CryptoSwift', '~&gt; 0.9.0'
  pod 'Kingfisher', '~&gt; 4.7.0'
  pod 'KeychainAccess', '~&gt; 3.1.1'
  pod 'Google/Analytics', '~&gt; 3.1.0'
  pod 'Cosmos', '~&gt; 15.0.0'
  pod 'Alamofire', '~&gt; 4.7.2'
  pod 'FRHyperLabel', '~&gt; 1.0.4'
  pod 'RealmSwift', '~&gt; 4.4.0'
  pod 'Realm', '~&gt; 4.4.0'
  pod 'Bolts', '~&gt; 1.9.0'
  pod 'FBSDKCoreKit', '~&gt; 4.36.0'
  pod 'FacebookCore', '~&gt; 0.3.3'
  pod 'CleverTap-iOS-SDK', '~&gt; 3.7.3'
  pod 'Branch', '~&gt; 0.29.3'
  pod 'TPKeyboardAvoiding', '~&gt; 1.3.2'
  pod 'Firebase'
  pod 'GoogleTagManager' , '~&gt; 5.0.8'
  </code></pre>
  <p>Now the pod update works fine, it gives this log:</p>
  <pre><code>Analyzing dependencies
  Downloading dependencies
  Installing Bolts 1.9.1 (was 1.9.0)
  Installing Firebase 3.6.0 (was 3.17.0)
  Installing Firebase 6.33.0 (was 3.17.0)
  Installing FirebaseAnalytics 3.4.2 (was 3.9.0)
  Installing FirebaseCore 6.10.3 (was 3.6.0)
  Installing FirebaseCoreDiagnostics (1.7.0)
  Installing FirebaseCrashlytics (4.6.1)
  Installing FirebaseInstallations (1.7.0)
  Installing FirebaseInstanceID 1.0.9 (was 1.0.10)
  Installing GoogleDataTransport (7.4.0)
  Installing GoogleInterchangeUtilities (1.2.2)
  Installing GoogleUtilities 1.3.2
  Installing GoogleUtilities 6.7.2 (was 1.3.2)
  Installing PromisesObjC (1.2.10)
  Installing Realm 4.4.1 (was 4.4.0)
  Installing RealmSwift 4.4.1 (was 4.4.0)
  Installing SDWebImage 5.9.2 (was 5.6.1)
  Installing TPKeyboardAvoiding 1.3.4 (was 1.3.3)
  Installing nanopb (1.30906.0)
  Removing Crashlytics
  Removing Fabric
  Removing GoogleToolboxForMac
  Generating Pods project
  Integrating client project
  </code></pre>
  <p>but when I compile the app I get the following error:</p>
  <pre><code>googleutilities/gulloggerlevel.h file not found
  </code></pre>
  <p>This error happens because Pods/GoogleUtilities has the content of its older version (1.3.2), not the newer one (6.7.2). How is this possible?</p>
  <p>I've tried another thing:</p>
  <ul>
  <li><p>I've removed from the Podfile the all pods related to Firebase and GoogleAnalytics and run a pod update.</p>
  </li>
  <li><p>I've added pod Firebase/Analytics and run a pod update. This creates the folder Pods/GoogleUtilities with the newer content (6.7.2 version).</p>
  </li>
  <li><p>I've added the rest of pods related to GoogleAnalytics. This overwrites the folder Pods/GoogleUtilities with the older content (1.3.2 version), so the googleutilities/gulloggerlevel.h file is not found again.</p>
  </li>
  </ul>
  <p>So is this the normal behavior?
  Is it possible to have in the same podfile pod Google/Analytics and pod Firebase/Crashlytics?</p>