2016-08-26 24 views
0

我有一個iOS應用程序,它在iOS 9中運行良好,但是當我升級到iOS 10時,出現alamofire錯誤。當我構建應用程序,它說使用iOS 10重建alamofire的問題

"Module file was created using an older version of the compiler, rebuild 'Alamofire' and try again" 

我試圖通過鍵入carthage update來重建它,它不會重建框架文件,但是當我重新添加它們作爲嵌入或鏈接的二進制文件,我得到了同樣的錯誤。我該如何去診斷和解決這個問題?我懷疑這不是一個特別的iOS 10問題,而更多的是我未能掌握的重建。

回答

0

變化Xcode的命令行工具指向8的測試版應用程序:

sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer/ 

Swift 3.0 issue的Alamofire回購更多信息。