Getting error "No such module" using Xcode, but the framework is there

alexandresecanove picture alexandresecanove · Apr 7, 2015 · Viewed 438.7k times · Source

I'm currently coding in Swift, and I've got an error:

No such module Social

But I don't understand, because the module is in my project, declared in "Linked frameworks and Libraries" and in "Embedded Binaries".

The frameworks is in Objective-C, so I wrote a Bridge Header for it.

Please, how can I make Xcode recognize the framework?

Error module

Project

Linkes Frameworks, Libraries

Header bridge

Answer

capikaw picture capikaw · Nov 26, 2015

In case it's Friday afternoon or anytime after 1am:

Opening xcodeproj instead of xcworkspace will cause an error like this...