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
I clone the repo and execute the commands as listed in the example README.me. I tried both with main and first checking out 2.0.1. Both result in the same error. Please advise.
flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006001-001229DE3EF8801E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006001-001229DE3EF8801E, name:My Mac }
../../../../.pub-cache/hosted/pub.dev/adwaita-1.0.0/lib/src/theme.dart:14:5: Error: No named parameter with the name 'primaryColorDark'.
primaryColorDark: AdwaitaColors.darkBackgroundColor,
^^^^^^^^^^^^^^^^
../../../../apps/flutter/packages/flutter/lib/src/material/color_scheme.dart:960:11: Context: Found this candidate, but the arguments don't match.
factory ColorScheme.fromSwatch({
^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/adwaita-1.0.0/lib/src/theme.dart:25:5: Error: No named parameter with the name 'primaryColorDark'.
primaryColorDark: AdwaitaColors.darkBackgroundColor,
^^^^^^^^^^^^^^^^
../../../../apps/flutter/packages/flutter/lib/src/material/color_scheme.dart:960:11: Context: Found this candidate, but the arguments don't match.
factory ColorScheme.fromSwatch({
^^^^^^^^^^
Target kernel_snapshot failed: Exception
Command PhaseScriptExecution failed with a nonzero exit code
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
** BUILD FAILED **
Building macOS application...
Error: Build process failed
The text was updated successfully, but these errors were encountered:
nu11ptr
changed the title
Example doesn't build on macOs Sonoma (Flutter 3.22)
Example doesn't build on macOS Sonoma (Flutter 3.22)
Jun 30, 2024
What I did:
I clone the repo and execute the commands as listed in the
example
README.me. I tried both withmain
and first checking out2.0.1
. Both result in the same error. Please advise.OS: macOS 14.5
Hw: MacBook Pro (M1 Max, 32 GB RAM)
Environment:
When running
flutter run -d macos
:The text was updated successfully, but these errors were encountered: