- Open Terminal and
cd to your project folder.
- Create Podfile and add the code from https://github.com/Alamofire/Alamofire
In Terminal, run
pod install
Close the project and open the newly created workspace: projectName.xcworkspace.
Run and build the project once.
Now it should be able to import.