Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broken builds from Swift 5.5.0 < Swift 5.5.2 #320

Merged
merged 11 commits into from
Jan 17, 2022

Conversation

cbaker6
Copy link
Contributor

@cbaker6 cbaker6 commented Jan 17, 2022

New Pull Request Checklist

Issue Description

#278 enabled backwards compatibility of async/await functionality on iOS 13 and alike from Xcode 13.2+. This backwards compatibility isn't available on Xcode 13.0 and 13.1, preventing the Swift SDK from building on those versions of Xcode.

Related issue: #n/a

Approach

Change the Swift version check to a compiler check and only build async/await functionality on code being compiled with 5.5.2+.

Note: For some reason, Windows CI build fails to run XCTests on Swift 5.5.2. It's a known issue on Swift Windows, so I'm leaving the windows CI on 5.5.1 for now. Opened a PR to check MaxDesiatov/swift-windows-action#1

TODOs before merging

  • Enabled 150+ tests on Linux CI

@parse-github-assistant
Copy link

parse-github-assistant bot commented Jan 17, 2022

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@cbaker6 cbaker6 merged commit 08882d0 into parse-community:main Jan 17, 2022
@cbaker6 cbaker6 deleted the xcode13 branch January 17, 2022 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant