Ios Alamofire 4.0.1架构x86_64 xCode 8 SWIFT 3的未定义符号
我的项目与cocoapods 1.0.1和Alamofire branch“swift3”完美配合。但今天我从Master branch将cocoapods更新为1.1.0,并将alamofire更新为4.0.1版,并在x86-64(模拟器)构建中得到链接器错误: 架构x86_64的未定义符号: Alamofire.request(Alamofire.url,方法: Alamofire.HTTPMethod,参数:[Swift.String:Any]?,编码: Alamofire.ParameterEncoding,标题:[Swift.String:Swift.String]?) ->Alamofire.DataRequest”,引用自 Swift.String的协议见证表:Alamofire.url 阿拉莫菲尔”,参考自: 但对于设备(arm目标),一切都很好 尝试取消集成播客,删除所有脚本和文件夹,然后重新安装-但没有帮助。试试看Ios Alamofire 4.0.1架构x86_64 xCode 8 SWIFT 3的未定义符号,ios,swift,alamofire,swift3,xcode8,Ios,Swift,Alamofire,Swift3,Xcode8,我的项目与cocoapods 1.0.1和Alamofire branch“swift3”完美配合。但今天我从Master branch将cocoapods更新为1.1.0,并将alamofire更新为4.0.1版,并在x86-64(模拟器)构建中得到链接器错误: 架构x86_64的未定义符号: Alamofire.request(Alamofire.url,方法: Alamofire.HTTPMethod,参数:[Swift.String:Any]?,编码: Alamofire.Paramet
sudo gem install cocoapods --pre
然后再次安装你的吊舱
或者,移除POD并改用Swift Package Manager 试试看
sudo gem install cocoapods --pre
然后再次安装你的吊舱
或者,移除POD并改用Swift Package Manager 得到了解决方案:
必须手动删除derivedData并在清理后重新启动xCode
(Facepalm)得到了解决方案:
必须手动删除derivedData并在清理后重新启动xCode
(脸掌)