apple / swift-openapi-urlsession

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

Use APIs available on older macOS in tests #25

Closed simonjbeaumont closed 1 year ago

simonjbeaumont commented 1 year 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.