1、如圖一所示,加入momd文件,報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.
圖一
解決辦法:
選擇momd文件,將語言改成oc,如圖二所示:
圖二 momd文件屬性圖