You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm getting these errors. It seems to a version problem but I don't know where to start. Any suggestions?
This is the first part of Xcode's output but it goes on with many more similar errors.....
↳
/Users/colbypatterson/.pub-cache/hosted/pub.dartlang.org/flutter_reactive_ble-2.7.3/ios/Classes/ReactiveBle/Tasks/Connect/ConnectTaskController.swift:25:74: error: reference to generic type 'Task' requires arguments in <...>
func handleConnectionChange(_ connectionChange: ConnectionChange) -> Task {
^
<<#Success: Sendable#>, <#Failure: Error#>>
_Concurrency.Task:2:23: note: generic type 'Task' declared here
@Frozen public struct Task<Success, Failure> : Sendable where Success : Sendable, Failure : Error {
^
/Users/colbypatterson/.pub-cache/hosted/pub.dartlang.org/flutter_reactive_ble-2.7.3/ios/Classes/ReactiveBle/Tasks/CharacteristicWrite/CharacteristicWriteTaskController.swift:32:40: error: reference to generic type 'Task' requires arguments in <...>
func handleWrite(error: Error?) -> Task {
^
<<#Success: Sendable#>, <#Failure: Error#>>
_Concurrency.Task:2:23: note: generic type 'Task' declared here
@Frozen public struct Task<Success, Failure> : Sendable where Success : Sendable, Failure : Error {
^
/Users/colbypatterson/.pub-cache/hosted/pub.dartlang.org/flutter_reactive_ble-2.7.3/ios/Classes/ReactiveBle/Tasks/CharacteristicNotify/CharacteristicNotifyTaskController.swift:22:37: error: reference to generic type 'Task' requires arguments in <...>
func complete(error: Error?) -> Task {
Beta Was this translation helpful? Give feedback.
All reactions