Reputation: 509
I’m trying to install ReactiveSwift/ReactiveCocoa in a project and having no luck. At first I was puzzled over the weird errors Xcode reported about my attempts at ReactiveCocoa code:
However, further examination indicates that Xcode is building the React, ReactiveSwift, and ReactiveCocoa frameworks but failing to integrate them properly.
My question is: How do I fix things so Xcode puts everything together correctly? I can’t find anything obviously wrong in my Podfile.
project ‘CitiTakeHome.xcodeproj' # Uncomment the next line to define a global platform for your project platform :ios, '11.0' target 'CitiTakeHome' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for CitiTakeHome # pod 'ReactiveSwift' pod 'ReactiveCocoa' target 'CitiTakeHomeTests' do inherit! :search_paths # Pods for testing end target 'CitiTakeHomeUITests' do inherit! :search_paths # Pods for testing end end
Other, possibly related info: Xcode Version 9.2 (9C40b) running on macOS High Sierra 10.13.2.
Any idea what’s gone wrong? Thanks in advance for any help anyone can provide.
Upvotes: 0
Views: 295
Reputation: 329
You have commented out pod 'ReactiveSwift'. Uncomment this line and everything will be ok.
Upvotes: 0