1. 程式人生 > >“Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift

“Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift

info ets 一個 tar src body pod edi strong

使用cocopod導入第三方swift包後,編譯報以下錯誤:

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

解決方法如下:(上一次沒有註意到圖片沒有傳上來,我說咋有人對我倒手指)

選擇一個當前對應的swift版本就好了

技術分享圖片

“Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift