title: Use of unresolved identifier 'Messaging', 'MessagingDelegate', 'MessagingRemoteMessage'
body: <p>Yesterday I cleared the Derived data folder enitrely and started facing this error. </p>
  
  <p>I tried : </p>
  
  <ol>
  <li>Clearing Derived Data and Clean and rebuild</li>
  <li>Deleting all pods using <code>pod deintegrate</code> and reinstall using <code>pod install</code></li>
  <li>Deleting the <code>Podfile.lock</code> file</li>
  <li>Run <code>pod update</code> to update the pods</li>
  </ol>
  
  <p>My podfile contains these Firebase pods:</p>
  
  <pre><code>  pod 'Firebase/Core'
    pod 'Firebase/Messaging'
    pod 'Firebase/Firestore'
    pod 'Firebase/Database' 
  </code></pre>
  
  <p>But the error still remains. Anyone faced this error lately.</p>
  
  <p><a href="https://i.stack.imgur.com/SgjRX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SgjRX.png" alt="enter image description here"></a></p>