& ldquo; No module of this type found & rdquo; while using CocoaPods in Swift

advertisements

I am developing an app using the CocoaPods GoogleAPIClient and GTMOAuth2.

I successfully installed the CocoaPods to my project.

If I clean the project it shows an error: "No such module found" and the frameworks change to the color red.


Run the project without import pod first, then run it again and this time with import pod. Also try cmd+shift+K

If still doesn't, manually dragg googleapiclient sourcefile to your project and it should work 100% this time.