1. 04 Aug, 2023 1 commit
    • Victoria Ashworth's avatar
      Check for simulator runtime in flutter doctor (#131795) · b39604e0
      Victoria Ashworth authored
      Redo of https://github.com/flutter/flutter/pull/130728 - code is the same as before. That PR was stuck in Google testing and then I messed up the rebase so started over.
      
      ----
      
      Starting in Xcode 15, the simulator is no longer included in Xcode and must be downloaded and installed separately. This adds a validation to `flutter doctor` to warn when the needed simulator runtime is missing.
      
      Validation message looks like:
      ```
      [!] Xcode - develop for iOS and macOS (Xcode 15.0)
          ! iOS 17.0 Simulator not installed; this may be necessary for iOS and macOS development.
            To download and install the platform, open Xcode, select Xcode > Settings > Platforms,
            and click the GET button for the required platform.
      
            For more information, please visit:
              https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
      ```
      
      It may also show an error like this when something goes wrong when checking for the simulator:
      ```
      [!] Xcode - develop for iOS and macOS (Xcode 15.0)
          ✗ Unable to find the iPhone Simulator SDK.
      ```
      
      Note: I'm unsure of in the future if the SDK and the simulator runtime will need to match the exact version or just the major. For now, it only checks against the major version.
      
      Part 3 of https://github.com/flutter/flutter/issues/129558.
      b39604e0
  2. 06 Jul, 2023 1 commit
  3. 22 Mar, 2023 1 commit
  4. 21 Mar, 2023 1 commit
  5. 20 Mar, 2023 1 commit
  6. 17 Mar, 2023 2 commits
  7. 28 Feb, 2023 1 commit
  8. 27 Feb, 2023 2 commits
  9. 17 Feb, 2023 1 commit
  10. 13 Feb, 2023 1 commit
  11. 09 Nov, 2022 1 commit
    • Victoria Ashworth's avatar
      Add more supported simulator debugging options and improve tests (#114628) · 3a656b16
      Victoria Ashworth authored
      * add debugging options to simulator, test more debugging flags, add tests for other launch arguements
      
      * refactor iOS launch arguments to use one function for both simulator and physical devices
      
      * treat dart flags differently between physical and simulator
      
      * Simplify some flags between devices.
      
      Change --disable-service-auth-codes to not always be included for physical devices, only if disableServiceAuthCodes is true.
      Change --disable-observatory-publication to be used for simulator devices too.
      Change --enable-checked-mode & --verify-entry-points to be used if debuggingEnabled is true regardless of device type.
      Chnage --trace-startup to be used for simulator devices too.
      
      * fix ios release mode with buildable app startApp test
      
      * determine observatory-port from deviceVmServicePort and hostVmServicePort
      
      * add comments and remove hasObservatoryPort
      3a656b16
  12. 27 Oct, 2022 1 commit
  13. 26 Oct, 2022 1 commit
  14. 18 Oct, 2022 1 commit
  15. 12 Oct, 2022 1 commit
  16. 30 Jul, 2022 1 commit
  17. 26 Jul, 2022 1 commit
  18. 18 Jun, 2022 1 commit
  19. 27 Apr, 2022 1 commit
  20. 07 Mar, 2022 1 commit
  21. 15 Feb, 2022 1 commit
    • Ben Konyi's avatar
      Update flutter_tools to look for new VM service message (#97683) · 2a2f9731
      Ben Konyi authored
      * Update flutter_tools to look for new VM service message
      
      The Dart SDK will soon move away from the current Observatory message:
      
      "Observatory listening on ..."
      
      To a new message that no longer references Observatory:
      
      "Dart VM Service listening on ..."
      
      This change updates all tests with mocks to check for the new message
      and also adds support for the new message in ProtocolDiscovery.
      
      See https://github.com/dart-lang/sdk/issues/46756
      
      * Fix some parsing locations
      
      * Fix analysis failures
      
      * Update message
      
      * Remove extra comment
      
      * Update message
      
      * Add globals prefix
      2a2f9731
  22. 05 Jan, 2022 1 commit
  23. 02 Nov, 2021 1 commit
  24. 30 Oct, 2021 1 commit
  25. 30 Sep, 2021 1 commit
  26. 29 Apr, 2021 1 commit
  27. 15 Apr, 2021 1 commit
  28. 01 Apr, 2021 1 commit
  29. 31 Mar, 2021 2 commits
  30. 30 Mar, 2021 1 commit
  31. 24 Mar, 2021 1 commit
  32. 06 Mar, 2021 1 commit
  33. 26 Feb, 2021 1 commit
  34. 18 Feb, 2021 2 commits
  35. 09 Feb, 2021 1 commit
  36. 08 Feb, 2021 1 commit