-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Closed as not planned
Closed as not planned
Copy link
Labels
c: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.33Found to occur in 3.33Found to occur in 3.33found in release: 3.35Found to occur in 3.35Found to occur in 3.35has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: flutter_migrateThe flutter_migrate package/toolThe flutter_migrate package/toolpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: invalidIssue is closed as not validIssue is closed as not validteam-ecosystemOwned by Ecosystem teamOwned by Ecosystem team
Description
Steps to reproduce
- Upgrade flutter to 3.35
- Run flutter_migrate start on an existing project
Expected results
The package should successfully create a new flutter project to compare it your existing one.
Actual results
An error is thrown because the package calls another process to create a new flutter project and pass --ios-language={language} as argument, which is no longer supported.
Code sample
Code sample
In an existing project, run this in your terminal:
flutter pub global activate flutter_migrate
flutter pub global run flutter_migrate start
Screenshots or Video
No response
Logs
Logs
Computing migration - this command may take a while to complete.
Obtaining revisions.
Parsing unmanagedFiles.
Generating base reference app.
Cloning SDK be698c48a6750c8cb8e61c740ca9991bb947aba2
Creating base app for [android, ios] with revision be698c48a6750c8cb8e61c740ca9991bb947aba2.
Creating target app with revision b8962555571d8c170cff8e76023ea7bf60e5ec4b.
⣷Unhandled exception:
Error: Command failed with exit code 2: The "ios-language" option is only supported for "--template=plugin".
#0 throwToolExit (package:flutter_migrate/src/base/common.dart:15:3)
#1 MigrateUtils.checkForErrors (package:flutter_migrate/src/utils.dart:313:7)
#2 MigrateUtils.createFromTemplates (package:flutter_migrate/src/utils.dart:175:5)
<asynchronous suspension>
#3 MigrateTargetFlutterProject.createProject (package:flutter_migrate/src/compute.dart:933:7)
<asynchronous suspension>
#4 _generateBaseAndTargetReferenceProjects (package:flutter_migrate/src/compute.dart:456:3)
<asynchronous suspension>
#5 computeMigration (package:flutter_migrate/src/compute.dart:267:7)
<asynchronous suspension>
#6 MigrateStartCommand.runCommand (package:flutter_migrate/src/commands/start.dart:219:42)
<asynchronous suspension>
#7 MigrateCommand.run (package:flutter_migrate/src/base/command.dart:58:5)
<asynchronous suspension>
#8 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#9 main (package:flutter_migrate/executable.dart:56:3)
<asynchronous suspension>
Failed to update packages.
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.35.1, on macOS 15.6 24G84 darwin-arm64, locale en-CA) [5.1s]
• Flutter version 3.35.1 on channel stable at /Users/fstonge/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 20f8274939 (18 hours ago), 2025-08-14 10:53:09 -0700
• Engine revision 1e9a811bf8
• Dart version 3.9.0
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop,
enable-android, enable-ios, cli-animations, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [7.5s]
• Android SDK at /Users/fstonge/Library/Android/sdk
• Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [8.2s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16F6
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [11ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.1) [10ms]
• 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 21.0.6+-13391695-b895.109)
[✓] VS Code (version 1.103.1) [9ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.116.0
[✓] Connected device (2 available) [6.0s]
• macOS (desktop) • macos • darwin-arm64 • macOS 15.6 24G84 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.128
[✓] Network resources [210ms]
• All expected network resources are available.
• No issues found!
Metadata
Metadata
Assignees
Labels
c: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.33Found to occur in 3.33Found to occur in 3.33found in release: 3.35Found to occur in 3.35Found to occur in 3.35has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: flutter_migrateThe flutter_migrate package/toolThe flutter_migrate package/toolpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: invalidIssue is closed as not validIssue is closed as not validteam-ecosystemOwned by Ecosystem teamOwned by Ecosystem team