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
macos/Runner/AppDelegate.swift uses the deprecated @NSApplicationMain attribute, updating.
macos/Runner/AppDelegate.swift does not override applicationSupportsSecureRestorableState. Updating.
.gitignore does not ignore Swift Package Manager build directories, updating.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006000-001810DC3602401E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006000-001810DC3602401E, name:My Mac }
../../../../../../.pub-cache/hosted/pub.dev/flet-0.25.1/lib/src/utils/theme.dart:356:28: Error: A value of type'TabBarThemeData' can't be returned from a function with return type'TabBarTheme?'. - 'TabBarThemeData' is from 'package:flutter/src/material/tab_bar_theme.dart' ('../../../../../../flutter/flutter/packages/flutter/lib/src/material/tab_bar_theme.dart'). - 'TabBarTheme' is from 'package:flutter/src/material/tab_bar_theme.dart' ('../../../../../../flutter/flutter/packages/flutter/lib/src/material/tab_bar_theme.dart'). return theme.tabBarTheme.copyWith( ^ ../../../../../../.pub-cache/hosted/pub.dev/flet-0.25.1/lib/src/utils/theme.dart:438:28: Error: A value of type 'DialogThemeData' can't be returned from a functionwithreturntype'DialogTheme?'.
- 'DialogThemeData' is from 'package:flutter/src/material/dialog_theme.dart' ('../../../../../../flutter/flutter/packages/flutter/lib/src/material/dialog_theme.dart').
- 'DialogTheme' is from 'package:flutter/src/material/dialog_theme.dart' ('../../../../../../flutter/flutter/packages/flutter/lib/src/material/dialog_theme.dart').
return theme.dialogTheme.copyWith(
^
../../../../../../.pub-cache/hosted/pub.dev/flet-0.25.1/lib/src/utils/theme.dart:482:26: Error: A value of type'CardThemeData' can't be returned from a function with return type'CardTheme?'. - 'CardThemeData' is from 'package:flutter/src/material/card_theme.dart' ('../../../../../../flutter/flutter/packages/flutter/lib/src/material/card_theme.dart'). - 'CardTheme' is from 'package:flutter/src/material/card_theme.dart' ('../../../../../../flutter/flutter/packages/flutter/lib/src/material/card_theme.dart'). return theme.cardTheme.copyWith( ^ Target kernel_snapshot_program 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 issue, 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 ** Build process failed Error building Flet app - see the log of failed command above.
Solution: switch Flutter to older version such as 3.24.5
flutter doctor -v # to get Flutter installed location such as `Flutter version 3.27.0 on channel stable at /Users/[user]/flutter/flutter`cd /Users/[user]/flutter/flutter
git checkout 3.24.5
flutter doctor -v