When I build with Xcode 8.2.1 I received this error:
Command /Volumes/SSD/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/bin/swiftc failed with exit code 1
I have cleaned the project, delete derived data, wait for the indexing processing files, close and reopen Xcode, restart computer and nothing.
There is no duplicated files.
Same error happens with other libraries not only Alamofire.
The error begin happening after merge a branch. Keeping in mind that, I have tried go to other old branch where it used to work but it doesn't work anymore, same error.
Any other required information let me know!
Thank you so much.

pod installagain. - allenh