Reland https://github.com/flutter/flutter/pull/143244. It was reverted due to https://github.com/flutter/flutter/issues/144251, which is fixed by https://github.com/flutter/engine/pull/51023.
This commit is contained in:
committed by
GitHub
parent
f89b4f151e
commit
39a13539e0
@@ -118,6 +118,12 @@ class PluginTest {
|
||||
// Currently this test is only implemented for macOS; it can be extended to
|
||||
// others as needed.
|
||||
if (buildTarget == 'macos') {
|
||||
// When using a local engine, podhelper.rb will search for a "macos-"
|
||||
// directory within the FlutterMacOS.xcframework, so create a dummy one.
|
||||
Directory(
|
||||
path.join(buildDir.path, 'FlutterMacOS.xcframework/macos-arm64_x86_64'),
|
||||
).createSync(recursive: true);
|
||||
|
||||
// Clean before regenerating the config to ensure that the pod steps run.
|
||||
await inDirectory(Directory(app.rootPath), () async {
|
||||
await evalFlutter('clean');
|
||||
|
||||
Reference in New Issue
Block a user