diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.m b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.m index 09ef7baa02..403e4e3625 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.m +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.m @@ -27,6 +27,9 @@ extern NSNotificationName const FlutterViewControllerWillDealloc; @end @implementation MockEngine +- (FlutterViewController*)viewController { + return nil; +} - (void)setViewController:(FlutterViewController*)viewController { // noop }