-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Add LLDB Init Instructions for Add to App #12131
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
Visit the preview URL for this PR (updated for commit 61f5a13): https://flutter-docs-prod--pr12131-lldb-instructions-2hqj4n73.web.app |
1. Set the **LLDB Init File** to the following: | ||
|
||
```console | ||
$(SRCROOT)/$(FLUTTER_APPLICATION_PATH)/.ios/Flutter/ephemeral/flutter_lldbinit |
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.
What happens if this file doesn't exist, for example after a flutter clean
? Will the build succeed, or fail with an inscrutable error?
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.
It will succeed and give a warning that it couldn't find the file.
I'll add some instructions to make sure the file exists
@jmagman FYI I decided to change it to not use a build setting and just put the relative path in the LLDB Init File setting because 1) the build setting can't be used in CocoaPods so what's the point and 2) the build setting can't be used if you're adding the Flutter LLDB init to a preexisting LLDB init file |
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.
lgtm
Add instructions on how to manually add Flutter's LLDB Init File. This is added to prevent crashes in debug mode on iOS 26. ## Presubmit checklist - [ ] This PR is marked as draft with an explanation if not meant to land until a future stable release. - [x] This PR doesn’t contain automatically generated corrections (Grammarly or similar). - [x] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style) — for example, it doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person). - [x] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer.
Add instructions on how to manually add Flutter's LLDB Init File. This is added to prevent crashes in debug mode on iOS 26.
Presubmit checklist