Module compiled with Swift 5.1 cannot be imported by the Swift 5.2.4 compiler: /Users/hjd/Library...

Xcode 升级到11.5 原项目运行提示报错(pod 库中引入)


截屏2020-05-27 上午11.05.59.png

Module compiled with Swift 5.1 cannot be imported by the Swift 5.2.4 compiler: /Users/hjd/Library/Developer/Xcode/DerivedData/SwiftGeneral-dazaeobevpfuanarwiphtnpxaxnm/Build/Products/Debug-iphoneos/Result/Result.swiftmodule/arm64-apple-ios.swiftmodule

使用Swift 5.1编译的模块不能由Swift 5.2.4编译器导入:/Users/hjd/Library/Developer/Xcode/DerivedData/SwiftGeneral-dazaeobevpfuanarwiphtnpxaxnm/Build/Products/Debug-iphoneos/Result/Result.swiftmodule/arm64-apple -ios.swiftmodule

最后解决, 从新下载一份项目(本人是存在GitHub的) 打开就好了 , 之前试了很多 ,都很无助

你可能感兴趣的:(Module compiled with Swift 5.1 cannot be imported by the Swift 5.2.4 compiler: /Users/hjd/Library...)