You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS engine artifacts Flutter.xcframework contains old architecture triples directories #85062
As of #85052 the Flutter engine iOS artifacts contain iOS ARM simulator binaries, and the Flutter.xcframework should only contain a ios-arm64_x86_64-simulator directory. It also was built on Xcode 12, so the ios-armv7_arm64 directory has been renamed ios-arm64_armv7. However, because the artifact downloads do not remove old directories from the bundle, the old and new architecture triple directories exist next to each other.
Steps to reproduce
$ git checkout stable
$ flutter precache
$ git checkout a2fa6d4 # master as of https://github.com/flutter/flutter/pull/85052
$ flutter precache
$ ls bin/cache/artifacts/engine/ios/Flutter.xcframework
changed the title [-]iOS engine artifacts Flutter.xcframework contains old architecture triples[/-][+]iOS engine artifacts Flutter.xcframework contains old architecture triples directories[/+]on Jun 22, 2021
More urgently than iOS ARM simulator adoption, if the tool prefers embedding the Xcode 11 style ios-armv7_arm64 over the Xcode 12 ios-arm64_armv7 then the engine will remain out of date and won't be built with the newer cached dart.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
jmagman commentedon Jun 22, 2021
This is blocking iOS ARM simulator adoption. The incorrect simulator directory happens to be selected when I test #85059 on an M1 ARM Mac.
[-]iOS engine artifacts Flutter.xcframework contains old architecture triples[/-][+]iOS engine artifacts Flutter.xcframework contains old architecture triples directories[/+]jmagman commentedon Jun 22, 2021
More urgently than iOS ARM simulator adoption, if the tool prefers embedding the Xcode 11 style
ios-armv7_arm64over the Xcode 12ios-arm64_armv7then the engine will remain out of date and won't be built with the newer cached dart.jmagman commentedon Jun 22, 2021
See also #74818. The fix at #74818 didn't address this.
When this reproduced
flutter/packages/flutter_tools/lib/src/cache.dart
Lines 947 to 951 in e467018
destination =
flutter/bin/cache/artifacts/engine/ios/artifactswhich never exists.github-actions commentedon Jul 31, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.