-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listt: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
#94747 parsed the xcresult bundle and printed the errors from Xcode when the build fails. However, that output is not printed when there are other issues detected.
For example, this test has a build failure, but it's not printing the Xcode error because it's falling through here:
flutter/packages/flutter_tools/lib/src/ios/mac.dart
Lines 611 to 614 in b53ed9b
| logger.printError("Try replacing 'com.example' with your signing id in Xcode:"); | |
| logger.printError(' open ios/Runner.xcworkspace'); | |
| return; | |
| } |
Instead, the xcresult errors should be moved to the top of diagnoseXcodeBuildFailure so it's always printed.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listt: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.