I found two ways to get rid of this error.
First, I explicitly annotate the property with its type. I find this very strange because Swift should just get it out of initialization.
lazy var embeddedViewController: CustomViewController = CustomViewController()
Secondly, just delete the lazy keyword.
var embeddedViewController = CustomViewController()
So, I think this is a bug that is currently causing lazy properties in Swift 2.0?
source share