Skip to content

Commit 5809219

Browse files
authored
Remove multi-arch check in iOS builds (#37407)
* Remove multi-arch check in iOS builds * Manual roll of flutter/engine#10010
1 parent 5bb8d8f commit 5809219

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

bin/internal/engine.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b41c172bcd861a09ccbe7a4b1addeb125d6f9541
1+
9fca3c74491a6f92322ca55cab53b9361c583135

packages/flutter_tools/lib/src/base/build.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@ class GenSnapshot {
5656

5757
final String snapshotterPath = getSnapshotterPath(snapshotType);
5858

59-
// iOS gen_snapshot is a multi-arch binary. Running as an i386 binary will
60-
// generate armv7 code. Running as an x86_64 binary will generate arm64
61-
// code. /usr/bin/arch can be used to run binaries with the specified
62-
// architecture.
63-
if (snapshotType.platform == TargetPlatform.ios) {
64-
final String hostArch = iosArch == IOSArch.armv7 ? '-i386' : '-x86_64';
65-
return runCommandAndStreamOutput(<String>['/usr/bin/arch', hostArch, snapshotterPath, ...args]);
66-
}
67-
6859
StringConverter outputFilter;
6960
if (additionalArgs.contains('--strip')) {
7061
// Filter out gen_snapshot's warning message about stripping debug symbols

0 commit comments

Comments
 (0)