We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d98c7 commit d0c5047Copy full SHA for d0c5047
shell/platform/darwin/macos/framework/Source/FlutterDartProject.mm
@@ -32,6 +32,9 @@ - (instancetype)initWithPrecompiledDartBundle:(NSBundle*)bundle {
32
_dartBundle = [NSBundle bundleWithURL:[NSBundle.mainBundle.privateFrameworksURL
33
URLByAppendingPathComponent:@"App.framework"]];
34
}
35
+ if (!_dartBundle.isLoaded) {
36
+ [_dartBundle load];
37
+ }
38
_dartEntrypointArguments = [[NSProcessInfo processInfo] arguments];
39
// Remove the first element as it's the binary name
40
_dartEntrypointArguments = [_dartEntrypointArguments
0 commit comments