提交 ba168e97 编写于 作者: C Chinmay Garde

Look for the service dylib in the frameworks directory of the main bundle. (#2680)

上级 befe3932
......@@ -49,12 +49,11 @@
return;
}
mojo::String dylib_path(
[[NSBundle bundleForClass:[FlutterDynamicServiceLoader class]]
pathForResource:_containerFramework
ofType:@"dylib"
inDirectory:@"Frameworks"]
.UTF8String);
mojo::String dylib_path([[NSBundle mainBundle]
pathForResource:_containerFramework
ofType:@"dylib"
inDirectory:@"Frameworks"]
.UTF8String);
_definition = sky::services::DynamicServiceDefinition::Initialize(dylib_path);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册