I'm updating my project to Swift 5 Xcode 10.3.
Everything was working fine with the previous Swift version now with the latest ReactiveCocoa 10.0.0
Already tried :
Swift added its own Result
type to the standard library in version 5. As such, ReactiveSwift
removed its dependency on the third-party Result
library it had previously used, and offers these instructions to update your code:
If you have used
Result
only as dependency ofReactiveSwift
, remove all instances ofimport Result
,import enum Result.NoError
orimport struct Result.AnyError
and remove theResult
Framework from your project.Replace all cases where
NoError
was used in aSignal
orSignalProducer
withNever
Replace all cases where
AnyError
was used in aSignal
orSignalProducer
withSwift.Error
So for this particular error, just delete the import Result
line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With