1. 09 Aug, 2023 1 commit
    • Victoria Ashworth's avatar
      New tooling for iOS 17 physical devices (#131865) · d631b262
      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.
      d631b262
  2. 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
  3. 20 Jun, 2023 1 commit
  4. 14 Jun, 2023 1 commit
  5. 04 May, 2023 1 commit
  6. 03 May, 2023 1 commit
  7. 27 Apr, 2023 1 commit
  8. 15 Apr, 2023 1 commit
    • Andrew Kolos's avatar
      [flutter_tools] Remove `Version.unknown` (#124771) · 68ec71f4
      Andrew Kolos authored
      Fixes #124756 by removing the concept of `Version.unknown`.
      
      `Version` fields that needed the ability to represent an unknown version have been made nullable. Assigning `null` to them represents an unknown version.
      68ec71f4
  9. 05 Apr, 2023 1 commit
  10. 04 Apr, 2023 1 commit
  11. 03 Apr, 2023 1 commit
  12. 29 Mar, 2023 1 commit
  13. 16 Mar, 2023 1 commit
  14. 15 Mar, 2023 1 commit
  15. 03 Mar, 2023 1 commit
  16. 28 Feb, 2023 1 commit
  17. 17 Feb, 2023 1 commit
  18. 31 Jan, 2023 1 commit
  19. 20 Jan, 2023 2 commits
  20. 19 Jan, 2023 3 commits
    • Alex Wallen's avatar
      [macos] add flavor options to commands in the `flutter_tool` (#118421) · 73096fd9
      Alex Wallen authored
      * Add new macos target configured for flavors
      
      * Rename Free App copy-Info.plist to Free App Info.plist
      
      * Remove bogus entitlements
      
      * Remove Generated.xcconfig
      
      * Audit project.pbxproj
      
      * Remove unused configs
      
      * share one info.plist
      
      * Modify scheme so that paid app works
      
      * Codesign automatic
      
      * Pipe flavor as scheme into xcodebuild
      
      * Ignore incoming flavor string
      
      * pipe flavor for flutter run to work
      
      * Add devicelab tests
      
      * Error if host and target device are same for flutter install desktop
      
      * Avoid bang (!) by promoting a local.
      Co-authored-by: 's avatarJenn Magder <magder@google.com>
      
      * Add supportsInstall property
      
      * Override  in test classes
      
      * Add install test on macOS
      
      * Refactor application_package and add tests for package directory
      Co-authored-by: 's avatara-wallen <stephenwallen@google.com>
      Co-authored-by: 's avatarJenn Magder <magder@google.com>
      73096fd9
    • Jenn Magder's avatar
      Revert "Support iOS wireless debugging (#118104)" (#118826) · cbf2e168
      Jenn Magder authored
      This reverts commit 5cd2d4c6.
      cbf2e168
    • Victoria Ashworth's avatar
      Support iOS wireless debugging (#118104) · 5cd2d4c6
      Victoria Ashworth authored
      * setup wireless debugging to use device IP
      
      * fix tests
      
      * fix unused var and missing annotation
      
      * remove unneeded try catch
      
      * remove commented out line, change null to package id
      
      * better way to get package id
      
      * update mDNS lookup to continously check for server, add messaging if takes too long to find observatory url, update flutter drive to enable publish-port if using network device
      
      * Refactor mDNS Discovery to poll for observatories and better handle multiple instances of the same app. Update drive command to make publish-port more stable. Update attach for iOS to only use Protocol Discovery if applicable, run mDNS and Protocol Discovery simultaneously, handle --debug-port/--debug-url/--device-vmservice-port, continously poll for obseravtories with mDNS, include port in error message when mutliple available
      
      * add and update comments, use logger spinner intead of timer in flutter attach, other small improvements
      
      * add newline to message so next log won't be on same line
      
      * fix install/waiting for permission status progress so it doens't double print the time it took.
      
      * only print backtrace if observatory times out on a physical usb connected device
      
      * fix test
      
      * Update related references from Observatory to Dart VM Service
      
      * fix test
      5cd2d4c6
  21. 15 Dec, 2022 2 commits
  22. 07 Nov, 2022 1 commit
  23. 06 Nov, 2022 1 commit
    • Chris Bracken's avatar
      Fix macOS migration nothing-to-upgrade test (#114703) · 5bc50c13
      Chris Bracken authored
      When testing whether a macOS deployment target version migration is
      unnecessary due to already being at the target version, we were
      previously checking the iOS deployment target version rather than the
      macOS version. This updates it to test MACOSX_DEPLOYMENT_TARGET instead.
      5bc50c13
  24. 05 Oct, 2022 1 commit
  25. 29 Aug, 2022 1 commit
  26. 30 Jul, 2022 1 commit
  27. 26 Jul, 2022 1 commit
  28. 15 Jul, 2022 1 commit
  29. 18 Jun, 2022 2 commits
  30. 16 Jun, 2022 1 commit
  31. 25 May, 2022 1 commit
  32. 24 May, 2022 1 commit
  33. 17 May, 2022 1 commit
  34. 04 May, 2022 1 commit
  35. 27 Apr, 2022 1 commit