Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

swift

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

like image 437
alexandresecanove Avatar asked Apr 07 '15 19:04

alexandresecanove


1 Answers

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

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

like image 180
capikaw Avatar answered Oct 11 '22 21:10

capikaw