'No such module' when I use CocoaPods 'No such module' when I use CocoaPods xcode xcode

'No such module' when I use CocoaPods


Try adding the Pods framework to your build scheme and building the framework. After you've built it, build/run your project.

Steps:

  1. Scheme menu > Manage Schemes > check Pods > Close manage

    enter image description here

  2. Select Pods from the scheme menu.
  3. Build Pods.
  4. Select your project from the same menu, then build/run it.


You must reopen project .xcworkspace file(not .xcodeproj) after install your podfile.

  1. Clone the repo with CocoaPods
  2. Open YourWorkspace/YourApplication.xcworkspace
  3. Select the app u want to run Add SwiftyJSON.framework in embeddedbinaries for that project Hit Run

Happy Coding :)


You may also try re-installing pods using:

pod deintegrate

and then

pod install

This fixed this issue for me