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.
This worked for me:
- Close your project
- In terminal go to your project directory
- Add this command: pod update
- After that all your pods will be updated. Just run your project