when using alamofire with Cocoapod,
should set iOS platform in Podfile otherwise alamofire library can not be find when import Alamofire
Example:
platform :ios, ‘9.0’
use_frameworks!
target ‘Your Project’ do
pod ‘Alamofire’, ‘~> 3.1.2’
Other method which is not successful for me
https://github.com/Alamofire/Alamofire/issues/441