Xcode10 swift language is set to 4.0, compilation is still reported to be incompatible with swift4.2

New swift project with reference to third-party library, swift language is set to 4.0, Podfile is also set to 4.0, and compilation is still reported to be incompatible with swift4.2

clipboard.png

clipboard.png
:

clipboard.png

Jul.29,2021

use pod 'Kingfisher','~ > 4.6.0' to solve the problem, and an error will be reported with the latest version 4.10.0

Menu