RxSwift 4.0.0-beta1 for Swift 4

Hi, I am a beginner in RX… spent the last two hours to get it works on the new Xcode 9.
And finally, I managed to get it works with Cocoapods.

The Podfile:

platform :ios, '11.0'

use_frameworks!

target 'YOURAPP' do
	pod 'RxSwift', :git => 'https://github.com/ReactiveX/RxSwift.git', :tag => '4.0.0-beta.1'
	pod 'RxCocoa', :git => 'https://github.com/ReactiveX/RxSwift.git', :tag => '4.0.0-beta.1'
end

And then run pod install as usual.

And then you can open the generated YOURAPP.xcworkspace from your project folder.

Hey thanks for sharing! Once RxSwift 4 is released we will update the book and the projects and publish an update.

1 Like

No problem, coz I just bought this book yesterday, and have problem to setup RxSwift. Anyway, hopefully this post will helps other newbies like me as well. :slightly_smiling_face:

This topic was automatically closed after 166 days. New replies are no longer allowed.