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

require watchOS v6 or higher #283

Closed halmueller closed 2 months ago

halmueller commented 2 months ago

After #276, package compilation now fails with 'UTF8View' is only available in watchOS 6.0 or newer 'utf8' is only available in watchOS 6.0 or newer

Bumps required version to watchOS 6, which came out at the same time that iOS 13 did.

bircni commented 2 months ago

@scinfu I can confirm this

halmueller commented 2 months ago

I just updated the Podspec, to match what's in Package.swift. I don't have Cocoapods running myself on this machine, so have not tested the Podspec bump.

Lightning-Lion commented 2 months ago

Same issue.

To reproduce it,

create a new Swift Package, add SwiftSoup to the Package’s dependencies, select Any watchOS Device as the Build target, and then you should be able to trigger the error.

aehlke commented 2 months ago

Thank you

bircni commented 2 months ago

@aehlke could you publish a release as this fixes some huge error?

aehlke commented 2 months ago

@bircni done https://github.com/scinfu/SwiftSoup/releases/tag/2.7.5