apple / swift-openapi-urlsession

URLSession transport for Swift OpenAPI Generator.
https://swiftpackageindex.com/apple/swift-openapi-urlsession/documentation
Apache License 2.0
159 stars 31 forks source link

Use APIs available on older macOS in tests #25

Closed simonjbeaumont closed 11 months ago

simonjbeaumont commented 11 months ago

Motivation

The tests fail to compile on anything older than macOS 13, because they use a number of APIs only available in macOS 13+:

Modifications

Use the following APIs instead:

Result

Tests can be built on older platforms.