title: How to fix cocoapod .modulemap file not found
body: <p>When I try to build my project, I get a compile time error saying that a "Module map file" for my pod cannot be found and that I am missing a "SwiftShimes" module. </p>
  
  <p>This is weird because all my modulemap files are where they should be when I install my pods.</p>
  
  <p>I am using Xcode 10.2 and Cocoapods 1.6.1. </p>
  
  <p>I have tried the following -></p>
  
  <ul>
  <li>deintegrating cocoapods from my project</li>
  <li>cleaning the project</li>
  <li>deleted ModuleCache and DerivedData</li>
  <li>restarting my computer</li>
  </ul>
  
  <p>This is the type of error I am getting -></p>
  
  <pre><code>Module map file '/Users/kaunamohammed/Library/Developer/Xcode/DerivedData/OutNow-gxdxvzwmnijmrlajtbtyclkhrgqs/Build/Products/Debug-iphoneos/CodableFirebase/CodableFirebase.modulemap' not found
  
  </code></pre>
  
  <p>I expect my project to build properly but this is not the case and I am not sure what else to do.</p>
  
  <p>This is what my Podfile looks like</p>
  
  <pre><code>platform :ios, '10.0'
  
  workspace 'OutNow'
  
  target 'OutNow' do
    use_modular_headers!
    #Pods for OutNow
    pod 'Instabug'
    pod 'SwiftMessages'
    pod 'CodableFirebase'
    pod 'Firebase/Core'
    pod 'Firebase/Auth'
    pod 'Firebase/Storage'
    pod 'Firebase/Firestore'
    pod 'Firebase/Messaging'
    pod 'Firebase/DynamicLinks'
    pod 'MarqueeLabel/Swift'
    pod 'RxSwift', '4.4.2'
    pod 'RxCocoa', '4.4.2'
    pod 'Kingfisher', '5.3.1'
    pod 'InstantSearchClient', '6.0'
    pod 'CoordinatorLibrary', '1.0.5'
    pod 'UIScrollView-InfiniteScroll', '1.1.0'
  
    target 'OutNowTests' do
      inherit! :search_paths
      # Pods for testing
    end
  
  end
  </code></pre>