Jle*_*xyc 0 ios swift alamofire swift3 xcode8
我的项目与cocoapods 1.0.1和Alamofire分支"swift3"完美配合.但是今天我已经将cocoapods更新到1.1.0并将alamofire从Master分支更新到版本4.0.1并且在x86-64(模拟器)构建时遇到了链接器错误:
架构x86_64的未定义符号:Alamofire.request(Alamofire.URLConvertible,方法:Alamofire.HTTPMethod,参数:[Swift.String:Any] ?, encoding:Alamofire.ParameterEncoding,headers:[Swift.String:Swift.String]?) - > Alamofire.DataRequest",引用自
Swift.String的协议见证表:Alamofire中的Alamofire.URLConvertible",引自:
但对于设备(手臂目标),一切都很好.
试图解体pod,删除所有脚本和文件夹并重新安装 - 但它没有帮助.