Repository navigation
Flutter Gallery app does not run on the new macOS hardware using iOS 14 simulator #65132
Copy link
Copy link
Closed
Closed
Copy link
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolee: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systemplatform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Milestone
Description
The Flutter Gallery app fails to build/run on the iOS 14 simulator when running on the new macOS hardware
(uses xCode_12_beta)
asiva@sivas-mac gallery % /Users/asiva/flutter/bin/flutter doctor
Downloading android-arm-profile/darwin-x64 tools... 0.8s
Downloading android-arm-release/darwin-x64 tools... 0.4s
Downloading android-arm64-profile/darwin-x64 tools... 0.5s
Downloading android-arm64-release/darwin-x64 tools... 0.4s
Downloading android-x64-profile/darwin-x64 tools... 0.4s
Downloading android-x64-release/darwin-x64 tools... 0.3s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.22.0-10.0.pre.50, on macOS 11.0 20A5299w, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[!] Android Studio (version 4.0)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
! Doctor found issues in 1 category.
asiva@sivas-mac gallery % /Users/asiva/flutter/bin/flutter run
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running Xcode build...
Xcode build done. 5.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
oah error: unhandled 16KB-unaligned mmap addr=0x0 len=0x21f3bb4 offset=0x1000 prot=1 flags=2
clang: error: unable to execute command: Trace/BPT trap: 5
clang: error: linker command failed due to signal (use -v to see invocation)
Command Ld failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of
supported deployment target versions is 9.0 to 14.0.99. (in target 'url_launcher' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of
supported deployment target versions is 9.0 to 14.0.99. (in target 'shared_preferences' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of
supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of
supported deployment target versions is 9.0 to 14.0.99. (in target 'package_info' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of
supported deployment target versions is 9.0 to 14.0.99. (in target 'Flutter' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
asiva@sivas-mac gallery %
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolee: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systemplatform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
a-siva commentedon Sep 2, 2020
/cc @pcsosinski @franklinyow
TahaTesser commentedon Sep 3, 2020
Hi @a-siva
Can you please provide
flutter run --verbosein a.txtfile and attach it in the commentThank you
Relate to #61047
pcsosinski commentedon Sep 3, 2020
/cc @jmagman as fyi
jmagman commentedon Sep 3, 2020
This is #64502, the App.framework and Flutter.framework needs an arm simulator slice. @a-siva is the dart team ready to pass their DTK off to someone on the Flutter engine team?
\cc @zanderso
jmagman commentedon Sep 3, 2020
@godofredoc did we ever get that DTK (ARM Mac Mini) hooked up in the lab somewhere?
godofredoc commentedon Sep 3, 2020
No, we didn't. Actually it is still on the google packages processing center, they didn't deliver it to the lab.
a-siva commentedon Sep 3, 2020
log.txt
a-siva commentedon Sep 3, 2020
Attached log file
pcsosinski commentedon Sep 14, 2020
adding this to the 1.22 milestone as we'll need it in that release when it is done.
alexmarkley commentedon Sep 18, 2020
@jmagman @godofredoc Hey, any update on the porting process? I'm also a DTK program member and I want to help with the porting process -- anything from testing to contributing patches. (See also dart-lang/sdk#43477 and dart-lang/sdk#43476 )
Is there any (internal or external) coordination process for folks who are under Apple's DTK agreement and want to help?
Thanks!
alexmarkley commentedon Sep 19, 2020
I don't want to open a duplicate issue, so I'll leave a comment here. I think this is the same issue, but I'll leave that to the team to decide.
Following instructions here: https://flutter.dev/docs/get-started/install/macos#create-and-run-a-simple-flutter-app
Output of
flutter doctor -v:(Note that I'm using the latest master from today.)
Results of
flutter run:jmagman commentedon Sep 21, 2020
This issue is a duplicate of #64502, there is no Flutter framework arm simulator slice.
github-actions commentedon Aug 12, 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.