最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】Xcode9中项目编译出错:Module compiled with Swift 3.1 cannot be imported in Swift 3.2.1

Xcode crifan 2506浏览 0评论

之前已经:

【已解决】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

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
89 queries in 0.922 seconds, using 22.07MB memory