diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 966ecf35f..e914eaefb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,7 +201,7 @@ jobs: - uses: actions/checkout@v2 - uses: MaxDesiatov/swift-windows-action@v1 with: - swift-version: "5.5.1" + swift-version: "5.5.2" shell-action: swift test --enable-test-discovery --enable-code-coverage -v - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift index 32ef296fa..46e80fa45 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseApple { diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift index 32c6c62d6..521d052cc 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseFacebook { diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseGithub/ParseGitHub+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseGithub/ParseGitHub+async.swift index 48940db38..10af7a0d9 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseGithub/ParseGitHub+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseGithub/ParseGitHub+async.swift @@ -6,7 +6,7 @@ // Copyright © 2022 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseGitHub { diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseGoogle/ParseGoogle+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseGoogle/ParseGoogle+async.swift index 8cbe5b812..c3f9b1b1a 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseGoogle/ParseGoogle+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseGoogle/ParseGoogle+async.swift @@ -6,7 +6,7 @@ // Copyright © 2022 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseGoogle { diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift index 307d83a98..52bebfabf 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseLDAP { diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift index 9a5f589c0..bae5e970f 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift @@ -6,7 +6,7 @@ // Copyright © 2022 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseLinkedIn { diff --git a/Sources/ParseSwift/Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift b/Sources/ParseSwift/Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift index 78e4afe73..3e03a6577 100644 --- a/Sources/ParseSwift/Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift +++ b/Sources/ParseSwift/Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseTwitter { diff --git a/Sources/ParseSwift/Authentication/Internal/ParseAnonymous+async.swift b/Sources/ParseSwift/Authentication/Internal/ParseAnonymous+async.swift index 8bd1ec3db..31b181b02 100644 --- a/Sources/ParseSwift/Authentication/Internal/ParseAnonymous+async.swift +++ b/Sources/ParseSwift/Authentication/Internal/ParseAnonymous+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseAnonymous { diff --git a/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift b/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift index 6ae2870ae..bd0e2312a 100644 --- a/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift +++ b/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseAuthentication { diff --git a/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift b/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift index 7749dfbe9..8bce657d5 100644 --- a/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift +++ b/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift @@ -138,7 +138,7 @@ public protocol ParseAuthentication: Codable { func unlinkPublisher(options: API.Options) -> Future #endif - #if compiler(>=5.5.2) && canImport(_Concurrency) + #if compiler(>=5.6.2) && canImport(_Concurrency) // MARK: Async/Await /** diff --git a/Sources/ParseSwift/LiveQuery/ParseLiveQuery+async.swift b/Sources/ParseSwift/LiveQuery/ParseLiveQuery+async.swift index 3d10cc93b..68eaa449e 100644 --- a/Sources/ParseSwift/LiveQuery/ParseLiveQuery+async.swift +++ b/Sources/ParseSwift/LiveQuery/ParseLiveQuery+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) && !os(Linux) && !os(Android) && !os(Windows) +#if compiler(>=5.6.2) && canImport(_Concurrency) && !os(Linux) && !os(Android) && !os(Windows) import Foundation extension ParseLiveQuery { diff --git a/Sources/ParseSwift/Objects/ParseInstallation+async.swift b/Sources/ParseSwift/Objects/ParseInstallation+async.swift index b408548f1..953d704f2 100644 --- a/Sources/ParseSwift/Objects/ParseInstallation+async.swift +++ b/Sources/ParseSwift/Objects/ParseInstallation+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseInstallation { diff --git a/Sources/ParseSwift/Objects/ParseObject+async.swift b/Sources/ParseSwift/Objects/ParseObject+async.swift index 4c423de86..d2ea77823 100644 --- a/Sources/ParseSwift/Objects/ParseObject+async.swift +++ b/Sources/ParseSwift/Objects/ParseObject+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseObject { diff --git a/Sources/ParseSwift/Objects/ParseUser+async.swift b/Sources/ParseSwift/Objects/ParseUser+async.swift index 897568ffa..c3c700c35 100644 --- a/Sources/ParseSwift/Objects/ParseUser+async.swift +++ b/Sources/ParseSwift/Objects/ParseUser+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseUser { diff --git a/Sources/ParseSwift/Types/ParseAnalytics+async.swift b/Sources/ParseSwift/Types/ParseAnalytics+async.swift index 20417f306..9340ec456 100644 --- a/Sources/ParseSwift/Types/ParseAnalytics+async.swift +++ b/Sources/ParseSwift/Types/ParseAnalytics+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if os(iOS) diff --git a/Sources/ParseSwift/Types/ParseCloud+async.swift b/Sources/ParseSwift/Types/ParseCloud+async.swift index 79cf2ceaf..7c1c00449 100644 --- a/Sources/ParseSwift/Types/ParseCloud+async.swift +++ b/Sources/ParseSwift/Types/ParseCloud+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseCloud { diff --git a/Sources/ParseSwift/Types/ParseConfig+async.swift b/Sources/ParseSwift/Types/ParseConfig+async.swift index 4b35fbae2..5d34dfe96 100644 --- a/Sources/ParseSwift/Types/ParseConfig+async.swift +++ b/Sources/ParseSwift/Types/ParseConfig+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseConfig { diff --git a/Sources/ParseSwift/Types/ParseFile+async.swift b/Sources/ParseSwift/Types/ParseFile+async.swift index 9126d9c7c..cd50396dd 100644 --- a/Sources/ParseSwift/Types/ParseFile+async.swift +++ b/Sources/ParseSwift/Types/ParseFile+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Sources/ParseSwift/Types/ParseHealth+async.swift b/Sources/ParseSwift/Types/ParseHealth+async.swift index 4d97e6297..b1e7619ea 100644 --- a/Sources/ParseSwift/Types/ParseHealth+async.swift +++ b/Sources/ParseSwift/Types/ParseHealth+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseHealth { diff --git a/Sources/ParseSwift/Types/ParseOperation+async.swift b/Sources/ParseSwift/Types/ParseOperation+async.swift index baf2dd719..0f386a76a 100644 --- a/Sources/ParseSwift/Types/ParseOperation+async.swift +++ b/Sources/ParseSwift/Types/ParseOperation+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension ParseOperation { diff --git a/Sources/ParseSwift/Types/Pointer+async.swift b/Sources/ParseSwift/Types/Pointer+async.swift index 3bb86e5e6..1009885a0 100644 --- a/Sources/ParseSwift/Types/Pointer+async.swift +++ b/Sources/ParseSwift/Types/Pointer+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation // MARK: Async/Await diff --git a/Sources/ParseSwift/Types/Query+async.swift b/Sources/ParseSwift/Types/Query+async.swift index 542ebf5ec..0a777691b 100644 --- a/Sources/ParseSwift/Types/Query+async.swift +++ b/Sources/ParseSwift/Types/Query+async.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation public extension Query { diff --git a/Tests/ParseSwiftTests/ParseAnanlyticsAsyncTests.swift b/Tests/ParseSwiftTests/ParseAnanlyticsAsyncTests.swift index 9ded6c7eb..f440a7548 100644 --- a/Tests/ParseSwiftTests/ParseAnanlyticsAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseAnanlyticsAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseAnonymousAsyncTests.swift b/Tests/ParseSwiftTests/ParseAnonymousAsyncTests.swift index 5c60fd928..b70bf9a31 100644 --- a/Tests/ParseSwiftTests/ParseAnonymousAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseAnonymousAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseAppleAsyncTests.swift b/Tests/ParseSwiftTests/ParseAppleAsyncTests.swift index b133a7599..fc81e4c9f 100644 --- a/Tests/ParseSwiftTests/ParseAppleAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseAppleAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseAuthenticationAsyncTests.swift b/Tests/ParseSwiftTests/ParseAuthenticationAsyncTests.swift index 2f73ef4dd..9a08ca465 100644 --- a/Tests/ParseSwiftTests/ParseAuthenticationAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseAuthenticationAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking @@ -105,7 +105,7 @@ class ParseAuthenticationAsyncTests: XCTestCase { // swiftlint:disable:this type } #endif - #if compiler(>=5.5.2) && canImport(_Concurrency) + #if compiler(>=5.6.2) && canImport(_Concurrency) func login(authData: [String: String], options: API.Options) async throws -> AuthenticatedUser { throw ParseError(code: .unknownError, message: "Not implemented") diff --git a/Tests/ParseSwiftTests/ParseAuthenticationCombineTests.swift b/Tests/ParseSwiftTests/ParseAuthenticationCombineTests.swift index ebf465945..b81a5218d 100644 --- a/Tests/ParseSwiftTests/ParseAuthenticationCombineTests.swift +++ b/Tests/ParseSwiftTests/ParseAuthenticationCombineTests.swift @@ -105,7 +105,7 @@ class ParseAuthenticationCombineTests: XCTestCase { } #endif - #if compiler(>=5.5.2) && canImport(_Concurrency) + #if compiler(>=5.6.2) && canImport(_Concurrency) func login(authData: [String: String], options: API.Options) async throws -> AuthenticatedUser { throw ParseError(code: .unknownError, message: "Not implemented") diff --git a/Tests/ParseSwiftTests/ParseAuthenticationTests.swift b/Tests/ParseSwiftTests/ParseAuthenticationTests.swift index 083973325..96eafd31b 100644 --- a/Tests/ParseSwiftTests/ParseAuthenticationTests.swift +++ b/Tests/ParseSwiftTests/ParseAuthenticationTests.swift @@ -105,7 +105,7 @@ class ParseAuthenticationTests: XCTestCase { } #endif - #if compiler(>=5.5.2) && canImport(_Concurrency) + #if compiler(>=5.6.2) && canImport(_Concurrency) func login(authData: [String: String], options: API.Options) async throws -> AuthenticatedUser { throw ParseError(code: .unknownError, message: "Not implemented") diff --git a/Tests/ParseSwiftTests/ParseCloudAsyncTests.swift b/Tests/ParseSwiftTests/ParseCloudAsyncTests.swift index c3fb627d2..c2b1d9f37 100644 --- a/Tests/ParseSwiftTests/ParseCloudAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseCloudAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseConfigAsyncTests.swift b/Tests/ParseSwiftTests/ParseConfigAsyncTests.swift index f0bd52a09..4d1511ae9 100644 --- a/Tests/ParseSwiftTests/ParseConfigAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseConfigAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseFacebookAsyncTests.swift b/Tests/ParseSwiftTests/ParseFacebookAsyncTests.swift index cbfced4f0..5776a98d3 100644 --- a/Tests/ParseSwiftTests/ParseFacebookAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseFacebookAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseFileAsyncTests.swift b/Tests/ParseSwiftTests/ParseFileAsyncTests.swift index 4ec6a9898..e6f161512 100644 --- a/Tests/ParseSwiftTests/ParseFileAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseFileAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseGitHubTests.swift b/Tests/ParseSwiftTests/ParseGitHubTests.swift index 5afa3da85..d87564d28 100644 --- a/Tests/ParseSwiftTests/ParseGitHubTests.swift +++ b/Tests/ParseSwiftTests/ParseGitHubTests.swift @@ -150,7 +150,7 @@ class ParseGitHubTests: XCTestCase { // swiftlint:disable:this type_body_length .AuthenticationKeys.id.verifyMandatoryKeys(authData: authDataWrong)) } -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) @MainActor func testLogin() async throws { diff --git a/Tests/ParseSwiftTests/ParseGoogleTests.swift b/Tests/ParseSwiftTests/ParseGoogleTests.swift index 60779a872..141d5418d 100644 --- a/Tests/ParseSwiftTests/ParseGoogleTests.swift +++ b/Tests/ParseSwiftTests/ParseGoogleTests.swift @@ -162,7 +162,7 @@ class ParseGoogleTests: XCTestCase { // swiftlint:disable:this type_body_length .AuthenticationKeys.id.verifyMandatoryKeys(authData: authDataWrong)) } -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) @MainActor func testLogin() async throws { diff --git a/Tests/ParseSwiftTests/ParseHealthAsyncTests.swift b/Tests/ParseSwiftTests/ParseHealthAsyncTests.swift index e1aaed307..3d0791175 100644 --- a/Tests/ParseSwiftTests/ParseHealthAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseHealthAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseInstallationAsyncTests.swift b/Tests/ParseSwiftTests/ParseInstallationAsyncTests.swift index 346ed35bb..5615ec1b7 100644 --- a/Tests/ParseSwiftTests/ParseInstallationAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseInstallationAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseLDAPAsyncTests.swift b/Tests/ParseSwiftTests/ParseLDAPAsyncTests.swift index d2ce5910d..ce77a223f 100644 --- a/Tests/ParseSwiftTests/ParseLDAPAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseLDAPAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseLinkedInTests.swift b/Tests/ParseSwiftTests/ParseLinkedInTests.swift index bd5d4adf3..75365c124 100644 --- a/Tests/ParseSwiftTests/ParseLinkedInTests.swift +++ b/Tests/ParseSwiftTests/ParseLinkedInTests.swift @@ -153,7 +153,7 @@ class ParseLinkedInTests: XCTestCase { // swiftlint:disable:this type_body_lengt .AuthenticationKeys.id.verifyMandatoryKeys(authData: authDataWrong)) } -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) @MainActor func testLogin() async throws { diff --git a/Tests/ParseSwiftTests/ParseLiveQueryAsyncTests.swift b/Tests/ParseSwiftTests/ParseLiveQueryAsyncTests.swift index adfcb56f1..4741202f2 100644 --- a/Tests/ParseSwiftTests/ParseLiveQueryAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseLiveQueryAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) && !os(Linux) && !os(Android) && !os(Windows) +#if compiler(>=5.6.2) && canImport(_Concurrency) && !os(Linux) && !os(Android) && !os(Windows) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseObjectAsyncTests.swift b/Tests/ParseSwiftTests/ParseObjectAsyncTests.swift index ea3bfc59a..5caf9b75a 100644 --- a/Tests/ParseSwiftTests/ParseObjectAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseObjectAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseOperationAsyncTests.swift b/Tests/ParseSwiftTests/ParseOperationAsyncTests.swift index 6840eb432..cd3eb3cba 100644 --- a/Tests/ParseSwiftTests/ParseOperationAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseOperationAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParsePointerAsyncTests.swift b/Tests/ParseSwiftTests/ParsePointerAsyncTests.swift index 2d5765897..0a4b7d518 100644 --- a/Tests/ParseSwiftTests/ParsePointerAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParsePointerAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseQueryAsyncTests.swift b/Tests/ParseSwiftTests/ParseQueryAsyncTests.swift index 1a116a0bf..5f2677f31 100644 --- a/Tests/ParseSwiftTests/ParseQueryAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseQueryAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseTwitterAsyncTests.swift b/Tests/ParseSwiftTests/ParseTwitterAsyncTests.swift index 80dc2d1d7..180d00074 100644 --- a/Tests/ParseSwiftTests/ParseTwitterAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseTwitterAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/ParseSwiftTests/ParseUserAsyncTests.swift b/Tests/ParseSwiftTests/ParseUserAsyncTests.swift index 497a969b3..f8a095885 100644 --- a/Tests/ParseSwiftTests/ParseUserAsyncTests.swift +++ b/Tests/ParseSwiftTests/ParseUserAsyncTests.swift @@ -6,7 +6,7 @@ // Copyright © 2021 Parse Community. All rights reserved. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.2) && canImport(_Concurrency) import Foundation #if canImport(FoundationNetworking) import FoundationNetworking