No such Module 'SwiftyJSON' on Swift 3.0

Jacobo Koenig picture Jacobo Koenig · Jul 25, 2016 · Viewed 27.7k times · Source

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

Answer

Greg Hilston picture Greg Hilston · Feb 8, 2017

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