SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in t

今天寫學習swift的時候遇到個錯誤,本身順便記錄一下,完整錯誤信息以下swift

SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target '')
複製代碼

去Build Setting中把Swift Language Version下改成Swift 4或者5便可bash

相關文章
相關標籤/搜索