-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Default add-to-app xcode_backend script to be verbose #73110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a comment or rename the private method to make it harder to accidentally refactor the normal flow to use this script and get verbose? e.g. make the verbose <-> script <-> add-to-app linkage more explicit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I can move this to a more explicit add-to-app spot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved it into the pod script phase.
e4f4ab0 to
9a25e87
Compare
| 'Host', | ||
| '-configuration', | ||
| 'Debug', | ||
| 'ARCHS=i386', // i386 is not supported in Debug mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was actually failing in CocoaPods before the Flutter script could run.
|
@xster Does this still LGT[u]? I rewrote it. |
xster
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still LGTM
Description
There's no
flutter run --verboseavailable for host add-to-app to see whyassemblefailed. Until we can emit better, more focused error messages, default to making the script run in verbose mode so it can be seen in the Xcode build logs.This matches macOS app behavior.
Related Issues
Fixes #70329
Tests
create_test