This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
App can not be run on Android and macOS on Flutter 3.10 #950
Copy link
Copy link
Closed
Description
Existing issue?
- I checked the existing issues
What happened?
Expected vs actual result:
Just cloned the repo, is run on iOS simulator and chrome but not on Android and macOS
On Android I get the following issue:
Exception: [!] Your app is using an unsupported Gradle project. To fix this problem, create a new project by running `flutter create -t app <app-directory>` and then move the dart code, assets and pubspec.yaml to the new project.
On MacOS the following one:
Processing dSYMs...
Command PhaseScriptExecution failed with a nonzero exit code
/Users/alireza/dev/flutter/gallery/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'nanopb' from project 'Pods')
/Users/alireza/dev/flutter/gallery/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'PromisesObjC' from project 'Pods')
/Users/alireza/dev/flutter/gallery/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'GoogleUtilities' from project 'Pods')
/Users/alireza/dev/flutter/gallery/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'PromisesSwift' from project 'Pods')
/Users/alireza/dev/flutter/gallery/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'GoogleDataTransport' from project 'Pods')
warning: Run script build phase '[firebase_crashlytics] Crashlytics Upload Symbols' 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 'Runner' from project 'Runner')
** BUILD FAILED **
Exception: Build process failed
Steps to reproduce:
- Upgrade flutter to 3.10
- Clone the repository
- Try to run the app on Android or macOS
flutter cleandoes not fix this issue
Relevant log output
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.0.1 22A400 darwin-arm64, locale
en-IR)
• Flutter version 3.10.0 on channel stable at
/Users/alireza/Documents/flutter3
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (2 days ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/alireza/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_HOME = /Users/alireza/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.78.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.62.0
[✓] Connected device (3 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 13
(API 33) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS
13.0.1 22A400 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google
Chrome 113.0.5672.92
[✓] Network resources
• All expected network resources are available.
• No issues found!Reacted by TP
Activity
bigbluecat commentedon May 19, 2023
same problem
chasel commentedon May 22, 2023
same problem
TP-113 commentedon May 22, 2023
same problem
Bump MACOSX_DEPLOYMENT_TARGET to 10.14.6 (flutter-team-archive#950)
Bump MACOSX_DEPLOYMENT_TARGET to 10.14.6 (flutter-team-archive#950)
TP-113 commentedon May 22, 2023
I made a pull request (#951) to fix this issue.
If you want, check out my brunch and give it a try.
guidezpl commentedon May 23, 2023
thanks!
Bump MACOSX_DEPLOYMENT_TARGET to 10.14.6 (#950) (#951)
altoon-dev commentedon Jan 3, 2024
what to do if i cant update dart from 3.0.3 to 3.1.0. my terminal isn't working, there's some issues with windows 10 after updating it.