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
flutter build ios --flavor dev -t lib/main_dev.dart
And then try to install,
bhanukas-mbp-2:user-app bhanukaisuru$ flutter install
The Xcode project defines schemes: dev, prod
You must specify a --flavor option to select one of the available schemes.
bhanukas-mbp-2:user-app bhanukaisuru$ flutter install dev
The Xcode project defines schemes: dev, prod
You must specify a --flavor option to select one of the available schemes.
bhanukas-mbp-2:user-app bhanukaisuru$ flutter install --flavor dev
Could not find an option named "flavor".
Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.
bhanukas-mbp-2:user-app bhanukaisuru$
Flutter install was working previously, after the update it's not installing to ios. 😭
Hi @bhanuka96
Just tried to reproduce it, no issues when installing via flutter install
flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.6 19G2021, locale en-GB)
• Flutter version 1.20.2 at /Users/tahatesser/Code/flutter_stable
• Framework revision bbfbf1770c (3 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/tahatesser/Code/sdk
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/tahatesser/Code/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.6, Build version 11E708
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2
[✓] Connected device (2 available)
• Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS
13.6.1
• iPhone 11 (mobile) • A63D6F51-59F3-4A75-961F-3769709F3A92 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
• No issues found!
Please follow this article if the problem persists, Can you please provide your flutter doctor -v and flutter install --verbose logs and a minimal complete reproducible code sample in a repository
Thank you
Hi @bhanuka96
Just tried to reproduce it, no issues when installing via flutter install
flutter doctor -v
Please follow this [article](flutters build ios --flavor prod -t lib/main_prod.dart), if the problem persists, Can you please provide your flutter doctor -v and flutter install --verbose logs and a minimal complete reproducible code sample in a repository
Thank you
Thanks for try to support me.
I already setup schemas on Xcode. prod app is live and dev app is on the TestFlight. This happens when trying to install using console. Now I build ios
bhanukas-mbp-2:vendor-app bhanukaisuru$ flutter build ios --flavor dev -t lib/main_dev.dart
Building com.yellovendor.dev for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: A6FFVZ8UVW
Running pod install... 10.9s
Warning: Podfile is out of date
This can cause issues if your application depends on plugins that do not support iOS.
See https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details.
If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/45197 for instructions.
To regenerate the Podfile, run:
rm ios/Podfile
Running Xcode build...
└─Compiling, linking and signing... 33.5s
Xcode build done. 277.4s
Hi @bhanuka96
I did try the same thing and there is no such issue,
Can you please provide a complete reproducible minimal code sample in a GitHub repository
Thank you
Hi @bhanuka96
I did try the same thing and there is no such issue,
Can you please provide a complete reproducible minimal code sample in a GitHub repository
Thank you
what kind of sample code do you want? this is happening to all Flutter projects of mine.
@bhanuka96
Please create a new project with the schemes exactly like your project and reproduce the issue with the same commands and if the issue reproduces, provide code that sample in a GitHub repository to better address the issue
@bhanuka96
Please create a new project with the schemes exactly like your project and reproduce the issue with the same commands and if the issue reproduces, provide code that sample in a GitHub repository to better address the issue
@bhanuka96
Please create a new project with the schemes exactly like your project and reproduce the issue with the same commands and if the issue reproduces, provide code that sample in a GitHub repository to better address the issue
my problem is this is working on 1.17.5. now working after upgrade to 1.20.2
my problem is this is working on 1.17.5. now working after upgrade to 1.20.2
Did you mean not working after the upgrade? My test was on same latest stable channel #64856 (comment)
If the issue is reproducible on the latest stable channel, please provide details asked here #64856 (comment)
my problem is this is working on 1.17.5. now working after upgrade to 1.20.2
Did you mean not working after the upgrade? My test was on same latest stable channel #64856 (comment)
If the issue is reproducible on the latest stable channel, please provide details asked here #64856 (comment)
Hi @bhanuka96
The issue isn't reproducible in my reproduction #64856 (comment)
Since you couldn't provide minimal sample and repository you provided isn't yours, please create an issue on their Github
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
Hi @bhanuka96
The issue isn't reproducible in my reproduction #64856 (comment)
Since you couldn't provide minimal sample and repository you provided isn't yours, please create an issue on their Github
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
@bhanuka96
The issue is still not reproducible running https://github.com/animeshjain/flavor_test.git has no issue when executing flutter build ios --flavor dev -t lib/main_dev.dart
I added main_dev.dart since this doesn't exist in the code repository
tahatesser@Tahas-MacBook-Pro flavor_test % flutters run --flavor dev -t lib/main_dev.dart -d iphone
Launching lib/main_dev.dart on iPhone 11 in debug mode...
Upgrading project.pbxproj
Legacy build system detected, removing
/Users/tahatesser/AndroidStudioProjects/flavor_test/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
Running pod install... 49.8s
Warning: Podfile is out of date
This can cause issues if your application depends on plugins that do not support iOS.
See https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details.
If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/45197 for
instructions.
To regenerate the Podfile, run:
rm ios/Podfile
Running Xcode build...
└─Compiling, linking and signing... 17.1s
Xcode build done. 49.7s
Configuring the default Firebase app...
5.2.0 - [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist.
5.2.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
5.2.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
Configured the default Firebase app __FIRAPP_DEFAULT.
Waiting for iPhone 11 to report its views... 4ms
Syncing files to device iPhone 11... 277ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on iPhone 11 is available at: http://127.0.0.1:52337/CNMGsFCGGEM=/
flutter: null
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.6 19G2021, locale en-GB)
• Flutter version 1.20.2 at /Users/tahatesser/Code/flutter_stable
• Framework revision bbfbf1770c (3 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/tahatesser/Code/sdk
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/tahatesser/Code/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2
[✓] Connected device (2 available)
• Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS
13.7
• iPhone 11 (mobile) • EDB19945-0B9F-4A6E-BAA1-425E68E3B6D6 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
• No issues found!
Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.
Thanks for your contribution.
I have this issue as well. I have the same exact project on two computers. On one computer, it fails with this error. On the other, it does not. They are both using the same flutter versions. Should I post more details or open up a new issue?
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 -v and a minimal reproduction of the issue.
Activity
TahaTesser commentedon Aug 31, 2020
Hi @bhanuka96
Just tried to reproduce it, no issues when installing via
flutter installflutter doctor -v
Please follow this article if the problem persists, Can you please provide your
flutter doctor -vandflutter install --verboselogs and a minimal complete reproducible code sample in a repositoryThank you
bhanuka96 commentedon Aug 31, 2020
Thanks for try to support me.
I already setup schemas on Xcode. prod app is live and dev app is on the TestFlight. This happens when trying to install using console. Now I build ios
and try to install
bhanukas-mbp-2:vendor-app bhanukaisuru$ flutter install
The Xcode project defines schemes: dev, prod
You must specify a --flavor option to select one of the available schemes.
This is the issue. why said "The Xcode project defines schemes: dev, prod" this?
flutter install --verbose
flutter doctor -v
TahaTesser commentedon Aug 31, 2020
Hi @bhanuka96
I did try the same thing and there is no such issue,
Can you please provide a complete reproducible minimal code sample in a GitHub repository
Thank you
bhanuka96 commentedon Aug 31, 2020
what kind of sample code do you want? this is happening to all Flutter projects of mine.
TahaTesser commentedon Aug 31, 2020
@bhanuka96
Please create a new project with the schemes exactly like your project and reproduce the issue with the same commands and if the issue reproduces, provide code that sample in a GitHub repository to better address the issue
bhanuka96 commentedon Aug 31, 2020
thanks. I will do it and let you know
bhanuka96 commentedon Aug 31, 2020
my problem is this is working on
1.17.5. now working after upgrade to1.20.2TahaTesser commentedon Sep 1, 2020
If the issue is reproducible on the latest
stablechannel, please provide details asked here #64856 (comment)1 remaining item
bhanuka96 commentedon Sep 1, 2020
this issue is on Flutter SDK. because I downloaded a random git project. (https://github.com/animeshjain/flavor_test.git). the same error is coming
TahaTesser commentedon Sep 1, 2020
Hi @bhanuka96
The issue isn't reproducible in my reproduction #64856 (comment)
Since you couldn't provide minimal sample and repository you provided isn't yours, please create an issue on their Github
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
bhanuka96 commentedon Sep 1, 2020
why do you close bugs without any solution? I got this project from this tutorial https://medium.com/@animeshjain/build-flavors-in-flutter-android-and-ios-with-different-firebase-projects-per-flavor-27c5c5dac10b project link https://github.com/animeshjain/flavor_test.git
TahaTesser commentedon Sep 2, 2020
@bhanuka96
The issue is still not reproducible running
https://github.com/animeshjain/flavor_test.githas no issue when executingflutter build ios --flavor dev -t lib/main_dev.dartI added
main_dev.dartsince this doesn't exist in the code repositoryflutter doctor -v
TahaTesser commentedon Oct 14, 2020
Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
please file a new issue with the exact description of what happens, logs, and the output of
flutter doctor -v.All system setups can be slightly different, so it's always better to open new issues and reference related issues.
Thanks for your contribution.
tamoyal commentedon Apr 13, 2021
I have this issue as well. I have the same exact project on two computers. On one computer, it fails with this error. On the other, it does not. They are both using the same flutter versions. Should I post more details or open up a new issue?
TahaTesser commentedon Apr 13, 2021
@tamoyal
Please file a new issue
github-actions commentedon Aug 3, 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.