The “Swift Language Version” (SWIFT_VERSION) build setting must be ...

创建appModel.xcdatamodeld文件,添加了一个Entity及两个Arrtibutes属性,编译提示如下错误:

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.

当前工程并未使用Pod:

引起这个错误的原因有几种,目前说明的只是其中一种情况,其他的网上的说明已经有很多了,就不再补充了:




猜你喜欢

转载自blog.csdn.net/qq_28379951/article/details/78740672