Build Information
Failed to build EZNetworking, reference 4.2.1 (973335), with Swift 5.10 for macOS (SPM) on 15 Dec 2025 04:19:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:74: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:17: note: add @available attribute to enclosing instance method
public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:41:17: note: add @available attribute to enclosing instance method
public func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:64:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:64:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:17: note: add @available attribute to enclosing instance method
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:69:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:69:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:17: note: add @available attribute to enclosing instance method
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:75:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:75:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:17: note: add @available attribute to enclosing instance method
public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:7:104: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:7:10: note: add @available attribute to enclosing instance method
func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:10: note: add @available attribute to enclosing instance method
func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:117: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:17: note: add @available attribute to enclosing instance method
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:80: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:17: note: add @available attribute to enclosing instance method
public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:43:18: warning: result of call to '_uploadFileTask(_:with:progress:completion:)' is unused
self._uploadFileTask(fileURL, with: request, progress: progress) { result in
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:41:17: note: add @available attribute to enclosing instance method
public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:65:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:65:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:17: note: add @available attribute to enclosing instance method
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:70:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:70:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:17: note: add @available attribute to enclosing instance method
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:76:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:76:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:17: note: add @available attribute to enclosing instance method
public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:10: note: add @available attribute to enclosing instance method
func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:69: error: 'AsyncStream' is only available in macOS 10.15 or newer
func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:10: note: add @available attribute to enclosing instance method
func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol FileUploadable {
^
[9/63] Compiling EZNetworking FileUploadable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/Protocols/RequestPerformable.swift:7:96: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/Protocols/RequestPerformable.swift:7:10: note: add @available attribute to enclosing instance method
func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/Protocols/RequestPerformable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol RequestPerformable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:58:103: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:58:17: note: add @available attribute to enclosing instance method
public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:4:15: note: add @available attribute to enclosing struct
public struct RequestPerformer: RequestPerformable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:39:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:39:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:38:17: note: add @available attribute to enclosing instance method
public func perform<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:4:15: note: add @available attribute to enclosing struct
public struct RequestPerformer: RequestPerformable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:59:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:59:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:58:17: note: add @available attribute to enclosing instance method
public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:4:15: note: add @available attribute to enclosing struct
public struct RequestPerformer: RequestPerformable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:64:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:64:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:58:17: note: add @available attribute to enclosing instance method
public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:4:15: note: add @available attribute to enclosing struct
public struct RequestPerformer: RequestPerformable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:111: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:17: note: add @available attribute to enclosing instance method
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:74: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:17: note: add @available attribute to enclosing instance method
public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:41:17: note: add @available attribute to enclosing instance method
public func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:64:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:64:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:17: note: add @available attribute to enclosing instance method
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:69:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:69:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:17: note: add @available attribute to enclosing instance method
public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:75:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:75:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:17: note: add @available attribute to enclosing instance method
public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:4:14: note: add @available attribute to enclosing class
public class DataUploader: DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:7:104: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:7:10: note: add @available attribute to enclosing instance method
func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:10: note: add @available attribute to enclosing instance method
func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol DataUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:117: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:17: note: add @available attribute to enclosing instance method
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:80: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:17: note: add @available attribute to enclosing instance method
public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:43:18: warning: result of call to '_uploadFileTask(_:with:progress:completion:)' is unused
self._uploadFileTask(fileURL, with: request, progress: progress) { result in
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:41:17: note: add @available attribute to enclosing instance method
public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:65:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:65:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:17: note: add @available attribute to enclosing instance method
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:70:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:70:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:17: note: add @available attribute to enclosing instance method
public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:76:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:76:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:17: note: add @available attribute to enclosing instance method
public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:4:14: note: add @available attribute to enclosing class
public class FileUploader: FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:10: note: add @available attribute to enclosing instance method
func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol FileUploadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:69: error: 'AsyncStream' is only available in macOS 10.15 or newer
func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:10: note: add @available attribute to enclosing instance method
func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:4:17: note: add @available attribute to enclosing protocol
public protocol FileUploadable {
^
[10/63] Compiling EZNetworking DefaultUploadTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
[11/63] Compiling EZNetworking UploadStreamEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
[12/63] Compiling EZNetworking UploadTypealias.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
[13/63] Compiling EZNetworking DefaultWebSocketTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
[14/63] Compiling EZNetworking WebSocketConnectionState.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
[15/63] Compiling EZNetworking ResponseValidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:3:16: note: add @available attribute to enclosing class
internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
^
[16/63] Compiling EZNetworking HTTPMethod.swift
[17/63] Compiling EZNetworking HTTPParameters.swift
[18/63] Compiling EZNetworking AuthenticationInterceptor.swift
[19/63] Compiling EZNetworking CacheInterceptor.swift
[20/63] Compiling EZNetworking DataTaskInterceptor.swift
[21/63] Compiling EZNetworking DownloadTaskInterceptor.swift
[22/63] Compiling EZNetworking SessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:10: note: add @available attribute to enclosing instance method
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: add @available attribute to enclosing instance method
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: add @available attribute to enclosing instance method
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
public func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:7:17: note: 'send(_:completionHandler:)' declared here
public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
public func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: protocol requirement here
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:9:17: note: 'receive(completionHandler:)' declared here
public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: protocol requirement here
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
[23/63] Compiling EZNetworking EmptyResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:10: note: add @available attribute to enclosing instance method
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: add @available attribute to enclosing instance method
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: add @available attribute to enclosing instance method
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
public func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:7:17: note: 'send(_:completionHandler:)' declared here
public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
public func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: protocol requirement here
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:9:17: note: 'receive(completionHandler:)' declared here
public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: protocol requirement here
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
[24/63] Compiling EZNetworking Data-ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:10: note: add @available attribute to enclosing instance method
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: add @available attribute to enclosing instance method
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: add @available attribute to enclosing instance method
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
public func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:7:17: note: 'send(_:completionHandler:)' declared here
public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
public func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: protocol requirement here
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:9:17: note: 'receive(completionHandler:)' declared here
public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: protocol requirement here
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
[25/63] Compiling EZNetworking String-ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:10: note: add @available attribute to enclosing instance method
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: add @available attribute to enclosing instance method
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: add @available attribute to enclosing instance method
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
public func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:7:17: note: 'send(_:completionHandler:)' declared here
public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
public func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: protocol requirement here
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:9:17: note: 'receive(completionHandler:)' declared here
public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: protocol requirement here
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
[26/63] Compiling EZNetworking URLSessionTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:10: note: add @available attribute to enclosing instance method
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: add @available attribute to enclosing instance method
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: add @available attribute to enclosing instance method
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
public func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:7:17: note: 'send(_:completionHandler:)' declared here
public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
public func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: protocol requirement here
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:9:17: note: 'receive(completionHandler:)' declared here
public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: protocol requirement here
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
[27/63] Compiling EZNetworking WebSocketTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: note: add 'if #available' version check
let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:17:17: note: add @available attribute to enclosing instance method
public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSession: URLSessionTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:10: note: add @available attribute to enclosing instance method
func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: add @available attribute to enclosing instance method
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: add @available attribute to enclosing instance method
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: add @available attribute to enclosing instance method
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
public func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:7:17: note: 'send(_:completionHandler:)' declared here
public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:10: note: protocol requirement here
func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
public func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:10: note: protocol requirement here
func receive() async throws -> URLSessionWebSocketTask.Message
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
Foundation.URLSessionWebSocketTask:9:17: note: 'receive(completionHandler:)' declared here
public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:10: note: protocol requirement here
func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: note: add @available attribute to enclosing extension
extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
^
[28/63] Compiling EZNetworking HTTPRedirectionStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:3:13: note: add @available attribute to enclosing enum
public enum WebSocketError: Error {
^
[29/63] Compiling EZNetworking HTTPServerErrorStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:3:13: note: add @available attribute to enclosing enum
public enum WebSocketError: Error {
^
[30/63] Compiling EZNetworking HTTPSuccessStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:3:13: note: add @available attribute to enclosing enum
public enum WebSocketError: Error {
^
[31/63] Compiling EZNetworking InternalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:3:13: note: add @available attribute to enclosing enum
public enum WebSocketError: Error {
^
[32/63] Compiling EZNetworking NetworkingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:3:13: note: add @available attribute to enclosing enum
public enum WebSocketError: Error {
^
[33/63] Compiling EZNetworking WebSocketError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:3:13: note: add @available attribute to enclosing enum
public enum WebSocketError: Error {
^
[34/63] Compiling EZNetworking RequestDecoder.swift
[35/63] Compiling EZNetworking HTTPHeaderEncoder.swift
[36/63] Compiling EZNetworking HTTPParameterEncoder.swift
[37/63] Compiling EZNetworking HTTPError.swift
[38/63] Compiling EZNetworking HTTPClientErrorStatus.swift
[39/63] Compiling EZNetworking HTTPInformationalStatus.swift
[40/63] Compiling EZNetworking Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:10: note: add @available attribute to enclosing instance method
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:10: note: add @available attribute to enclosing instance method
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
[41/63] Compiling EZNetworking RequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:10: note: add @available attribute to enclosing instance method
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:10: note: add @available attribute to enclosing instance method
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
[42/63] Compiling EZNetworking RequestFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:10: note: add @available attribute to enclosing instance method
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:10: note: add @available attribute to enclosing instance method
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
[43/63] Compiling EZNetworking FileDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:10: note: add @available attribute to enclosing instance method
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:10: note: add @available attribute to enclosing instance method
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
[44/63] Compiling EZNetworking DefaultDownloadTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:10: note: add @available attribute to enclosing instance method
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:10: note: add @available attribute to enclosing instance method
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
[45/63] Compiling EZNetworking FileDownloadable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: note: add 'if #available' version check
try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:17: note: add @available attribute to enclosing instance method
public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: note: add 'if #available' version check
AsyncStream { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:17: note: add @available attribute to enclosing instance method
public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:4:14: note: add @available attribute to enclosing class
public class FileDownloader: FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:10: note: add @available attribute to enclosing instance method
func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:10: note: add @available attribute to enclosing instance method
func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:7:17: note: add @available attribute to enclosing protocol
public protocol FileDownloadable {
^
[46/63] Compiling EZNetworking HTTPBody.swift
[47/63] Compiling EZNetworking MultipartFormData.swift
[48/63] Compiling EZNetworking MultipartFormPart.swift
[49/63] Compiling EZNetworking AuthorizationType.swift
[50/63] Compiling EZNetworking HTTPHeader.swift
[51/63] Compiling EZNetworking MimeType.swift
[52/63] Compiling EZNetworking MetricsInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:17:13: note: add @available attribute to enclosing enum
public enum WebSocketTaskEvent {
^
[53/63] Compiling EZNetworking RedirectInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:17:13: note: add @available attribute to enclosing enum
public enum WebSocketTaskEvent {
^
[54/63] Compiling EZNetworking StreamTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:17:13: note: add @available attribute to enclosing enum
public enum WebSocketTaskEvent {
^
[55/63] Compiling EZNetworking TaskLifecycleInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:17:13: note: add @available attribute to enclosing enum
public enum WebSocketTaskEvent {
^
[56/63] Compiling EZNetworking UploadTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:17:13: note: add @available attribute to enclosing enum
public enum WebSocketTaskEvent {
^
[57/63] Compiling EZNetworking WebSocketTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:10: note: add @available attribute to enclosing instance method
func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:4:17: note: add @available attribute to enclosing protocol
public protocol WebSocketTaskInterceptor: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:17:13: note: add @available attribute to enclosing enum
public enum WebSocketTaskEvent {
^
[58/63] Compiling EZNetworking SessionDelegate+URLSessionDataDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:4:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
[59/63] Compiling EZNetworking SessionDelegate+URLSessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:4:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
[60/63] Compiling EZNetworking SessionDelegate+URLSessionDownloadDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:4:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
[61/63] Compiling EZNetworking SessionDelegate+URLSessionStreamDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:4:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
[62/63] Compiling EZNetworking SessionDelegate+URLSessionTaskDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:4:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
[63/63] Compiling EZNetworking SessionDelegate+URLSessionWebSocketDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:4:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
webSocketTask: URLSessionWebSocketTask,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:10:17: note: add @available attribute to enclosing instance method
public func urlSession(_ session: URLSession,
^
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:3:1: note: add @available attribute to enclosing extension
extension SessionDelegate: URLSessionWebSocketDelegate {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm