Closed lynchspin closed 2 years ago
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
I'll give that a shot. Thanks @programmarchy, I really appreciate it!
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
andLambda.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 version0.5.1
in thePackage.swift
file.SwiftAWSLambdaRuntime version/commit hash
011e8ddc4b1b02788a39d521f903eb27b6361c0b
Swift & OS version (output of
swift --version && uname -a
)Swift 5.5, Xcode 13, macOS Big Sur version 11.6