Copy the macOS podspec during builds (flutter/engine#9158)
The podspec must be copied to the build output root, otherwise --local-engine won't work in projects containing plugins. Mirrors the iOS podspec copy rule.
This commit is contained in:
@@ -200,9 +200,20 @@ action("_generate_symlinks") {
|
||||
]
|
||||
}
|
||||
|
||||
copy("copy_framework_podspec") {
|
||||
visibility = [ ":*" ]
|
||||
sources = [
|
||||
"framework/FlutterMacOS.podspec",
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/FlutterMacOS.podspec",
|
||||
]
|
||||
}
|
||||
|
||||
group("flutter_framework") {
|
||||
deps = [
|
||||
":_generate_symlinks",
|
||||
":copy_framework_podspec",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user