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

使用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版本就好了

posted @ 2018-01-31 17:17  M·emor·Y  阅读(605)  评论(0编辑  收藏  举报