之前已经:
【已解决】Xcode9中报错:Module compiled with Swift 3.1 cannot be imported in Swift 3.2
现在又遇到类似的:
Module compiled with Swift 3.1 cannot be imported in Swift 3.2.1: /Carthage/Build/iOS/Cartography.framework/Modules/Cartography.swiftmodule/x86_64.swiftmodule
【总结】
最后去
rm -rf ~/Library/Caches/org.carthage.CarthageKit/DerivedData carthage update --platform iOS --no-use-binaries
结果就可以了。
转载请注明:在路上 » 【已解决】Xcode9中项目编译出错:Module compiled with Swift 3.1 cannot be imported in Swift 3.2.1