像往常一样到github上,clone了一份到电脑上,然后加入到项目中。
今天,很特别的出现了“No such module alamofire”,搜了一下,解决方案五花八门,都没有解决问题。
最后在stack overflow里找到了一个类似的答案
http://stackoverflow.com/questions/32996438/alamofire-no-such-module-error
大体上,就是因为,苹果又推出了Xcode8,alamofire后面的版本是在Xcode8中开发的。
将版本退回3.0即可