Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No such Module 'SwiftyJSON' on Swift 3.0

After migrating to Swift 3.0, I am trying to import SwiftyJSON into my project. However, when I import the framework 'import SwiftyJSON' I get a No Such Module error.

If I remove the import statement, it does not recognize its classes.

Any advice as to why XCode might not be reading my imported framework?

See screenshots attached:

enter image description here

enter image description here

enter image description here

like image 543
Jacobo Koenig Avatar asked Jul 25 '16 15:07

Jacobo Koenig


1 Answers

My problem was I was opening the project file and not the workspace file...

like image 166
Greg Hilston Avatar answered Sep 18 '22 10:09

Greg Hilston