Cocoapods + Cannot load underlying module for 'x' Cocoapods + Cannot load underlying module for 'x' ios ios

Cocoapods + Cannot load underlying module for 'x'


This seems to be a bug in XCode. I had the same problem, and as described in the comments of another answer to this question, building the project made the error go away.


Go to Product > Build and it will resolve the problem:enter image description here


This worked for me:

  1. Close your project
  2. In terminal go to your project directory
  3. Add this command: pod update
  4. After that all your pods will be updated. Just run your project