- 14 Aug, 2023 1 commit
-
-
Victoria Ashworth authored
Fixes a couple of issues introduced in new iOS 17 physical device tooling: https://github.com/flutter/flutter/pull/131865. 1) Duplicate messages were being filtered out too aggressively. For example, if on the counter app, you printed "Increment!" on button click, it would only print once no matter how many times you clicked. Sometimes more than one log source is used at a time and the original intention was to filter duplicates between two log sources, so it wouldn't print the same message from both logs. However, it would also filter when the same message was added more than once via the same log. The new solution distinguishes a "primary" and a "fallback" log source and prefers to use the primary source unless it's not working, in which it'll use the fallback. If the fallback is faster than the primary, the primary will exclude the logs received by the fallback in a 1-to-1 fashion to prevent too-aggressive filtering. Once a flutter-message has been received by the primary source, fallback messages will be ignored. Note: iOS < 17 did not regress. 2) There was a race condition between the shutdown hooks and exiting XcodeDebug that was causing a crash when deleting a file that doesn't exist. This only affects CI - for the new integration tests and when testing with iOS 17 physical devices.
-
- 09 Aug, 2023 1 commit
-
-
Victoria Ashworth authored
This PR includes the following changes. These changes only apply to iOS 17 physical devices. | Command | Change Description | Changes to User Experience | | ------------- | ------------- | ------------- | | `flutter run --release` | Uses `devicectl` to install and launch application in release mode. | No change. | | `flutter run` | Uses Xcode via automation scripting to run application in debug and profile mode. | Xcode will be opened in the background. Errors/crashes may be caught in Xcode and therefore may not show in terminal. | | `flutter run --use-application-binary=xxxx` | Creates temporary empty Xcode project and use Xcode to run via automation scripting in debug and profile. | Xcode will be opened in the background. Errors/crashes may be caught in Xcode and therefore may not show in terminal. | | `flutter install` | Uses `devicectl` to check installed apps, install app, uninstall app. | No change. | | `flutter screenshot` | Will return error. | Will return error. | Other changes include: * Using `devicectl` to get information about the device * Using `idevicesyslog` and Dart VM logging for device logs Note: Xcode automation scripting (used in `flutter run` for debug and profile) does not work in a headless (without a UI) interface. No known workaround. Fixes https://github.com/flutter/flutter/issues/128827, https://github.com/flutter/flutter/issues/128531.
-
- 02 Jun, 2023 1 commit
-
-
Victoria Ashworth authored
Workaround solution for: https://github.com/flutter/flutter/issues/121231 See https://github.com/flutter/flutter/issues/120808#issuecomment-1551826299 Error Case 2 for more information. Sometimes the `ios-deploy` process does not return the logs from the application. We've been unable to figure out why. This is a solution to workaround that by using `idevicesyslog` alongside `ios-deploy` as a backup in getting the log for the Dart VM url. As explained in https://github.com/flutter/flutter/issues/120808#issuecomment-1551826299, when error case 2 happens, the `idevicesyslog` does successfully find the Dart VM. Also, in the comments of the code it mentions `syslog` is not written on iOS 13+, this was added in response to this issue: https://github.com/flutter/flutter/issues/41133. However, `idevicesyslog` does in fact work (at least for iOS 16), we use it to collect device logs for our CI tests already: https://github.com/flutter/flutter/blob/1dc26f80f04c1c1091a83c5fead9b3aa83483292/dev/devicelab/lib/framework/devices.dart#L998-L1006
-
- 24 May, 2022 1 commit
-
-
Jenn Magder authored
-
- 27 Apr, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 17 Mar, 2022 1 commit
-
-
Christopher Fujino authored
-
- 11 May, 2021 1 commit
-
-
Jonah Williams authored
-
- 23 Apr, 2021 1 commit
-
-
Jonah Williams authored
-
- 15 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 08 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 07 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 06 Apr, 2021 1 commit
-
-
Jonah Williams authored
-
- 02 Mar, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 26 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 24 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 27 Jan, 2021 1 commit
-
-
Jonah Williams authored
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
-
- 16 Oct, 2020 1 commit
-
-
Jenn Magder authored
-
- 14 Oct, 2020 1 commit
-
-
Jenn Magder authored
-
- 30 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 23 Sep, 2020 2 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
- 22 Sep, 2020 5 commits
-
-
Jenn Magder authored
This reverts commit 2be4570d.
-
Jenn Magder authored
-
Jenn Magder authored
This reverts commit 5c858036.
-
- 18 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 03 Jun, 2020 1 commit
-
-
Jonah Williams authored
-
- 29 Apr, 2020 1 commit
-
-
Jonah Williams authored
Finishes the gradual vm service migration by deleting the flutter tooling's vm_service
-
- 08 Apr, 2020 1 commit
-
-
Jonah Williams authored
-
- 06 Apr, 2020 2 commits
-
-
Jonah Williams authored
This reverts commit d6b09626.
-
Jonah Williams authored
-
- 03 Apr, 2020 2 commits
-
-
Jonah Williams authored
This reverts commit 66d7a6c2.
-
Jonah Williams authored
-
- 24 Mar, 2020 1 commit
-
-
Jenn Magder authored
* Convert ios_device_logger_test.dart to testWithoutContext * Remove IMobileDevice from globals, hoist to XCDevice constructor
-
- 20 Mar, 2020 1 commit
-
-
Jonah Williams authored
-