diff --git a/shell/platform/darwin/ios/framework/Source/FlutterHeadlessDartRunner.mm b/shell/platform/darwin/ios/framework/Source/FlutterHeadlessDartRunner.mm index 8db85fd3b5664201d17a6519e746beb539b24f29..e35089e03d44fc619ac3ed28d6349668d5117016 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterHeadlessDartRunner.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterHeadlessDartRunner.mm @@ -111,7 +111,7 @@ static std::string CreateShellLabel() { } - (void)runWithEntrypoint:(NSString*)entrypoint { - [self runWithEntrypointAndCallback:entrypoint libraryUri:nil completion:nil]; + [self runWithEntrypointAndLibraryUri:entrypoint libraryUri:nil]; } #pragma mark - FlutterBinaryMessenger