objcio / app-architecture

Sample Code of the App Architecture Book
https://www.objc.io/books/app-architecture
2.05k stars 307 forks source link

RxSwift Projects Compiling Issues #22

Open derrickshowers opened 5 years ago

derrickshowers commented 5 years ago

I'm following the steps in the README to install RxSwift via Carthage, but running into complier issues. Specifically, No such module 'RxDataSources'.

The only error I get when running carthage update --platform iOS is a build failure from xcodebuild, but I'm guessing is the same issue.

Seems like everything is installed correctly.

*** Fetching RxSwift
*** Checking out RxDataSources at "3.0.2"
*** Checking out RxSwift at "4.0.0"
*** xcodebuild output can be found in /var/folders/vn/djlphdns25qcvv_53qqwcs9c000bsw/T/carthage-xcodebuild.CSrNEV.log
*** Skipped downloading RxSwift.framework binary due to the error:
    "API rate limit exceeded for 216.52.20.6. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
*** Skipped downloading RxDataSources.framework binary due to the error:
    "API rate limit exceeded for 216.52.20.6. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
*** Building scheme "RxBlocking-iOS" in Rx.xcworkspace
*** Building scheme "RxCocoa-iOS" in Rx.xcworkspace

Any ideas? Anyone else run into this? I'd love to be able to build so I can play around and better grok reactive programming.

fredschnek commented 5 years ago

I had the same problem. I updated the frameworks to the latest version and also updated the whole project to Swift 5.0. You'll have to fix a couple of warnings but it will work just fine.