ReactiveCocoa supports macOS 10.9+, iOS 8.0+, watchOS 2.0+, and tvOS 9.0+.
If you use Carthage to manage your dependencies, simply add ReactiveCocoa to your Cartfile:
github "ReactiveCocoa/ReactiveCocoa" ~> 5.0
If you use Carthage to build your dependencies, make sure you have added
Result.framework to the "Linked Frameworks and Libraries" section of your target, and have included them in your Carthage framework copying build phase.
If you use CocoaPods to manage your dependencies, simply add ReactiveCocoa to your Podfile:
pod 'ReactiveCocoa', '~> 5.0.0'
Add the ReactiveCocoa repository as a submodule of your application’s repository.
git submodule update --init --recursive
from within the ReactiveCocoa folder.
Drag and drop
Carthage/Checkouts/Result/Result.xcodeproj into your application’s Xcode project or workspace.
On the “General” tab of your application target’s settings, add
Result.framework to the “Embedded Binaries” section.
If your application target does not contain Swift code at all, you should also set the
EMBEDDED_CONTENT_CONTAINS_SWIFT build setting to “Yes”.
if you want to reproduce, please indicate the source:
reactive-cocoa – Getting started with ReactiveCocoa – Installation or Setup - CodeDay