Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors with new release Moya 9.0.0 #19

Open
hitman1711 opened this issue Sep 6, 2017 · 3 comments
Open

Build errors with new release Moya 9.0.0 #19

hitman1711 opened this issue Sep 6, 2017 · 3 comments

Comments

@hitman1711
Copy link

hitman1711 commented Sep 6, 2017

Are there any plans to migrate to the latest Moya release according to this guide ? Otherwise you should fix podspec file by replacing Moya dependency version 'Moya', '>= 8.0.0' to 'Moya', '~> 8.0.0'

@devxoul
Copy link
Owner

devxoul commented Sep 6, 2017

Yeah, #18 is for Moya 9. Let's wait for him to fix CI errors :)

@hitman1711
Copy link
Author

hitman1711 commented Sep 22, 2017

Hi @devxoul. Because of this I manually included latest version of MoyaSugar 1.0 by using downloaded repo archive in pod file this way:
pod 'MoyaSugar/RxSwift', :path => '../MoyaSugar'

Unfortunately, there were a bunch of build errors on using undeclared RxMoyaSugarProvider. I found that RxMoyaSugarProvider was removed in the latest commits.

Are rx bindings was deprecated or what ?

Update: I already explored new rx bindings which uses PrimitiveSequence<SingleTrait>

@devxoul
Copy link
Owner

devxoul commented Sep 24, 2017

Since Moya 9 every Observables are replaced with Singles. If you'd like to use MoyaSugar with RxSwift 4, you have to use Moya 10.0.0-dev. Check 1.0.0-beta.1 release note for details :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants