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 :
- Deleting and updating all carthage
- Deleting derivedData Folder, clean and build
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.
Please do the following steps:-
1) Delete derived data. 2) Update all Carthage. 3) Clean and build.
© 2022 - 2024 — McMap. All rights reserved.