scinfu / SwiftSoup

SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
https://scinfu.github.io/SwiftSoup/
MIT License
4.52k stars 345 forks source link

Module compiled with Swift 5.6.1 cannot be imported by the Swift 5.7.1 compiler #231

Closed sammyfdm closed 1 year ago

sammyfdm commented 1 year ago

I tried to update and build my app and ran into this error:

Module compiled with Swift 5.6.1 cannot be imported by the Swift 5.7.1 compiler: .../Build/Products/Release-iphoneos/SwiftSoup.framework/Modules/SwiftSoup.swiftmodule/arm64-apple-ios.swiftmodule

I'm using Xcode 14.1 (14B47b). Will you be making a release soon that supports Swift 5.7?

sammyfdm commented 1 year ago

Sorry, this turned out to be a problem with Carthage building another dependency and it was failing before building the SwiftSoup xcframework. All good now 👍

Sato-Falisa commented 1 year ago

抱歉,这原来是 Carthage 构建另一个依赖项的问题,并且在构建 SwiftSoup xcframework 之前失败了。现在一切都好👍

can u share you method?I comfront the same problem and can't deal with it for a long time ,it‘s upset