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

Compiler errors Xcode 13 #234

Closed
lynchspin opened this issue Sep 30, 2021 · 2 comments
Closed

Compiler errors Xcode 13 #234

lynchspin opened this issue Sep 30, 2021 · 2 comments

Comments

@lynchspin
Copy link

lynchspin commented Sep 30, 2021

Disclaimer: I'm pretty new to swift lambdas, so this may be something silly on my end. But below is the issue I'm currently facing.

Expected behavior

No compiler errors.

Actual behavior

see image attached

Steps to reproduce

Clone the latest repo, run the project on Mac with Xcode 13 installed.

If possible, minimal yet complete reproducer code (or URL to code)

I cloned the repo and then attempted to test run samples. I didn't change any code. The errors appear in both the LambdaHandler.swift and Lambda.swift files. The hash I provide below refers to this test case, but I'm also seeing it in a project I'm building that references version 0.5.1 in the Package.swift file.

SwiftAWSLambdaRuntime version/commit hash

011e8dd

Swift & OS version (output of swift --version && uname -a)

Swift 5.5, Xcode 13, macOS Big Sur version 11.6
Screen Shot 2021-09-29 at 7 14 14 PM

@lynchspin lynchspin changed the title Compiler alerts Xcode 13 Compiler errors Xcode 13 Sep 30, 2021
@programmarchy
Copy link

programmarchy commented Oct 2, 2021

You could compile with the Swift 5.4.3 toolchain until Swift 5.5 is supported.

Download it here and set it in Xcode > Preferences > Toolchains

Looks like in Swift 5.5 the method was renamed to completeWith

@lynchspin
Copy link
Author

I'll give that a shot. Thanks @programmarchy, I really appreciate it!

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

No branches or pull requests

2 participants