Search code examples
iosxcodecocoapodsalamofirepodfile

No such module 'Alamofire' When Importing the Alamofire Module To My Project


I'm new to IOS it's my first project, I want to use Alamofire library in my project I followed all the steps to install the library using Cocoapods and everything should be working normally, but I'm getting this error "No such module 'Alamofire'" when I want to import the library module to my project this is the error I'm getting

this the pod configs

This is the Podfile

any help would be appreciated thank you.


Solution

  • You have to open the project from workSpace (.xcworkspace) not from xcodeproj file after you successfully install the pods from terminal