-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Android Studio Open iOS module in xcode does not work with flavors #51756
Copy link
Copy link
Closed
Labels
in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
Description
Steps to Reproduce
- Create dev and prod flavors
- Open Android Studio and right click iOS module
- Select Flutter -> Open iOS module in xcode.
Expected results: xcode opend
Actual results: Error
flutter --no-color build ios --simulator
Building com.flutter.example.prod for simulator (ios)...
The Xcode project defines schemes: dev, prod
You must specify a --flavor option to select one of them.
Encountered error while building for simulator.
Process finished with exit code 1
Logs
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G2022, locale en-NZ)
• Flutter version 1.12.13+hotfix.8 at /Users/jayhuang/Development/flutter/sdk
• Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/jayhuang/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/jayhuang/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (2 available)
• SM J730F • 5200ad94f49d7449 • android-arm • Android 9 (API 28)
• Pengfei's iPhone • 0c8b971747f4a965baa677b4e23b29b6136a6dba • ios • iOS 13.1.3
• No issues found!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds