UPDATED with answer at bottom
I am using the TwitterKit framework as installed with Twitter\'s new Fabric platform. This code in ViewController.sw
I had a same error with Xcode 7
Helped to uncheck and then check again a checkbox field standing for linking the broken framework in the target membership section
Here I have tried to add this framework in application and its perfectly working. From this it is clear that issue is related to linking with the module you have added.
Relink / Reference again with the module will resolve this issue:
Points need to be highlight:
For example:
Go to finder of its location >> From Xcode right click on project name >> Show in finder will open project location folder. Here you must have to copy TwitterKit.framework
bundle.
TwitterKit.framework
bundle and click on Add button will add a reference of that framework to project.I was facing the same problem. My project was swift based and there were no objective C code. I wanted to add 3rd party framework and on import facing same error "no such module". I solved it by adding a bridging-header file in swift and just import framework there. It works for me.