-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.9Found to occur in 3.9Found to occur in 3.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
problem
Flutter is not able to find the right executable path of flavors when running flutter run -d macos --flavor <flavor_name>, it runs well from xcode though.
Steps to Reproduce
- make sure you are on the master channel with flutter >= 3.8
- make a new flutter project with macOS platform
- open the macOS module in xcode
- make a new scheme from Xcode named development
- duplicate the 3 configurations [debug - release - profile] and assign the new ones to your development flavor
- run the development scheme from XCode and make sure it runs without problems
- run
flutter run -d macos --flavor developmentfrom terminal
Expected results:
flutter run completes successfully
Actual results:
error :
File "build/macos/Build/Products/Debug Development/example.app" does not exist.the built file's real path is :
build/macos/Build/Products/Debug-development/example.appflutter doctor
[✓] Flutter (Channel master, 3.9.0-7.0.pre.33, on macOS 13.2.1 22D68 darwin-arm64, locale en-EG)
• Flutter version 3.9.0-7.0.pre.33 on channel master at /Users/egyleader/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fb7e82826d (89 minutes ago), 2023-03-15 04:34:21 -0400
• Engine revision b7297f0259
• Dart version 3.0.0 (build 3.0.0-322.0.dev)
• DevTools version 2.22.2
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/egyleader/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_HOME = /Users/egyleader/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• 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_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
[✓] Android Studio (version 2022.1)
• 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 11.0.15+0-b2043.56-8887301)
[✓] VS Code (version 1.76.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.60.0
[✓] Connected device (4 available)
• M2010J19SG (mobile) • d06deb780221 • android-arm64 • Android 12 (API 31)
• Ahmed’s iPhone (mobile) • 031ae2de087ef4c80bc376cdc4f77a12c7f22e2e • ios • iOS 14.4.2 18D70
• macOS (desktop) • macos • darwin-arm64 • macOS 13.2.1 22D68 darwin-arm64
• Chrome (web) • chrome • web-javascript • Brave Browser 111.1.49.120
! Error: Ahmed’s iPhone is busy: Fetching debug symbols for Ahmed’s iPhone. Xcode will continue when Ahmed’s iPhone is finished. (code -10)
[✓] Network resources
• All expected network resources are available.
• No issues found!
arnemolland, t5ujiri, chillbrodev, garlicPasta, Rongix and 4 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.9Found to occur in 3.9Found to occur in 3.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team