Swift Language Version” (SWIFT_VERSION)

原文
“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版本就好了

image

你可能感兴趣的:(Swift Language Version” (SWIFT_VERSION))