Prevent flutter build ios-framework --xcframework from copying Flutter.xcframework.dSYM into the App.framework folder. (#157394)
Fixes https://github.com/flutter/flutter/issues/157359 Prevents Flutter.xcframework.dSYM from being copied into the App.framework folder. I am not 100% positive if there are cases where it's valid to have multiple dSYMs in that folder, so I'm just string matching and filtering out `Flutter.xcframework.dSYM`
This commit is contained in:
@@ -558,6 +558,8 @@ void main() {
|
||||
final Directory parentA = fileSystem.directory('FrameworkA')..createSync();
|
||||
final File dSYMA = parentA.childFile('FrameworkA.framework.dSYM')..createSync();
|
||||
final Directory frameworkA = parentA.childDirectory('FrameworkA.framework')..createSync();
|
||||
// Flutter.framework.dSYM should be correctly filtered out.
|
||||
parentA.childFile('Flutter.framework.dSYM').createSync();
|
||||
|
||||
final Directory parentB = fileSystem.directory('FrameworkB')..createSync();
|
||||
final File dSYMB = parentB.childFile('FrameworkB.framework.dSYM')..createSync();
|
||||
|
||||
Reference in New Issue
Block a user