ios编译错误 1. 常见错误 Command /Applications/Xcode9.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 解决方法: 由于cocospod 版本过高引起的,需要找到BulidSetting->swift flag->把cocoapods后面的参数全部去掉 去掉后的结果: