Skip to content

Commit 08882d0

Browse files
authored
fix: broken builds from Swift 5.5.0 < Swift 5.5.2 (#320)
* fix: broken builds from Swift 5.5.0 < Swift 5.5.2 * enable tests on linux and windows * more tests on linux and windows * fix auth tests on linux and windows * try import foundation networking for fix fails * disable tests on linux * bump windows ci to 5.5.2 * revert * disable Codecov for windows * Update ci.yml * revert
1 parent e6457a4 commit 08882d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+122
-46
lines changed

Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseApple {

Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseFacebook {

Sources/ParseSwift/Authentication/3rd Party/ParseGithub/ParseGitHub+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2022 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseGitHub {

Sources/ParseSwift/Authentication/3rd Party/ParseGoogle/ParseGoogle+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2022 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseGoogle {

Sources/ParseSwift/Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseLDAP {

Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2022 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseLinkedIn {

Sources/ParseSwift/Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseTwitter {

Sources/ParseSwift/Authentication/Internal/ParseAnonymous+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseAnonymous {

Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Parse Community. All rights reserved.
77
//
88

9-
#if swift(>=5.5) && canImport(_Concurrency)
9+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1010
import Foundation
1111

1212
public extension ParseAuthentication {

Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public protocol ParseAuthentication: Codable {
138138
func unlinkPublisher(options: API.Options) -> Future<AuthenticatedUser, ParseError>
139139
#endif
140140

141-
#if swift(>=5.5) && canImport(_Concurrency)
141+
#if compiler(>=5.5.2) && canImport(_Concurrency)
142142
// MARK: Async/Await
143143

144144
/**

0 commit comments

Comments
 (0)