解决XCode报错:The “Swift Language Version” (SWIFT_VERSION) build setting must be set

1,750 阅读1分钟

cocopod导入第三方swift包(YogaKit)后,编译错误:

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.

解决方法如图:

屏幕快照 2018-03-30 下午2.34.07.png