# RxSwift 4.0.0-beta1 for Swift 4

**URL:** <https://forums.kodeco.com/t/rxswift-4-0-0-beta1-for-swift-4/35237>\
**Category:** RxSwift\
**Created:** [October 5, 2017, 12:50pm UTC](https://forums.kodeco.com/t/rxswift-4-0-0-beta1-for-swift-4/35237 "2017-10-05T12:50:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![choonsiong](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/choonsiong/32/81494_2.png) [@choonsiong](https://forums.kodeco.com/u/choonsiong)\
**Post date:** [October 5, 2017, 12:50pm UTC](https://forums.kodeco.com/t/rxswift-4-0-0-beta1-for-swift-4/35237/1 "2017-10-05T12:50:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [October 5, 2017, 1:03pm UTC](https://forums.kodeco.com/t/rxswift-4-0-0-beta1-for-swift-4/35237/2 "2017-10-05T13:03:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![choonsiong](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/choonsiong/32/81494_2.png) [@choonsiong](https://forums.kodeco.com/u/choonsiong)\
**Post date:** [October 5, 2017, 8:38pm UTC](https://forums.kodeco.com/t/rxswift-4-0-0-beta1-for-swift-4/35237/3 "2017-10-05T20:38:31Z")

</div>

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. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [March 21, 2018, 4:50am UTC](https://forums.kodeco.com/t/rxswift-4-0-0-beta1-for-swift-4/35237/4 "2018-03-21T04:50:27Z")

</div>

Closed on March 21, 2018, 4:50am UTC

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