“No such module ‘Alamofire'” Xcode won’t recognize Alamofire framework

Do the following things and you can import any swift file from “Pods”

1) Clean your project

2) Make sure that all your “Pods” > “Build Settings” > “Build Active
Architecture Only” is set to “NO”.

3) Don’t run, just build your project.

4) Now, import any file from “Pods” to any swift file

E.g.: import Alamofire

5) Again, build project and it will work as expected. Finally, you can
access it properties

Update:

For the updated question, I hope you are using Xcode 7.3 so please update the Alamofire to Swift 2.2

Hope this helps!

Leave a Comment