RxFlow: Type AppFlow does not conform to protocol Flow

I cloned your example project, deleted Carthage support and created my own Podfile and tried to compile, but I occured an errors like this: Type 'WatchedFlow' does not conform to protocol Flow and etc Flow’s 2018-02-20 16 26 24

When I created a new empty project, linked pods, created my own Flow class like AppFlow, I also occured this error.

My environment:

  • Xcode 9.2
  • Swift 4

My Podfile:

use_frameworks!
target 'RxFlowDemo' do
  pod 'RxSwift'
  pod 'RxCocoa'
  pod 'RxFlow'
  pod 'Reusable'
end

What I’m doing wrong?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18

Most upvoted comments

@twittemb Thanks a lot! Your library is amazing! =)

Hi @snowtema I have just release a version 1.2.0 on CocoaPods that handles that case. Can you give it a try ? thanks.

@snowtema

In the version 1.1.0 the Flow protocol declares a UIViewController as its root. The Presentable conformance is only on “develop” right now.