xcode need time to add Alamofire in to your project. My suggestion:
Press Command + Shift + R to rebuild project.
Command + Shift + R