转发链接:https://blog.csdn.net/nathan1987_/article/details/79757368
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.