序言:在現(xiàn)有的OC項目中卓囚,導(dǎo)入Swift資源或框架后瘾杭,編譯一般會出現(xiàn)如下圖片問題:
圖片中描述語句: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,意思就是說要在項目build setting中設(shè)置SWIFT_VERSION哪亿。
解決辦法:根據(jù)提示我找到了設(shè)置的位置如下粥烁,照片中果然提示unspecified,未指定蝇棉。
點擊右邊的上下選擇箭頭讨阻,指定Swift版本即可,重新編譯通過篡殷。