I'm getting this strange error when compiling the latest version of sdk-for-swift (5.0.0)
[961/962] Compiling Appwrite Client.swift
/usr/local/server/.build/checkouts/sdk-for-swift/Sources/Appwrite/Client.swift:40:83: error: type 'HTTPClient.EventLoopGroupProvider' has no member 'singleton'
private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/usr/src/code/src/Executor/Executor.php:96
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(408): Executor\Executor-
Locally this works fine. Also, I can see that this variable does exist on an extension HTTPClient.EventLoopGroupProvider https://github.com/swift-server/async-http-client/blob/main/Sources/AsyncHTTPClient/HTTPClient.swift#L893
Any ideas?
I forgot to mention that my appwrite server is Version 1.5.1. Also, i've tried clearing the .build/ cache directory, but i'm getting the same failure message.
Recommended threads
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...
- Provider error when creating a function ...