I am running XCode 7, Swift 2.0, iOS 9.
I want to install Alamofire in my project using Cocoapods. I have done the following:
gem install cocoapods
When installing CocoaPods, be sure to specify ios 9.0 by deleteing the #. Therefore, # platform :ios, '9.0'
should just be platform :ios, '9.0'
Then, if the error shows again, simply build and run. After you build and run, the error should not return.
Also, this can occur if you have more than one version of Xcode installed on your computer. Quit (not just close) all versions of Xcode first.