1. 07 Nov, 2017 1 commit
  2. 28 Sep, 2017 1 commit
  3. 14 Sep, 2017 1 commit
    • Chris Bracken's avatar
      Migrate to os_log for reading iOS simulator logs (#12079) · dd7e3133
      Chris Bracken authored
      1. Migrate simulator device log tailing to os_log toolchain
      2. When the log tag (component) is available (iOS 11/Xcode 9), filter to
         the set of log lines with tag 'Flutter'.
      
      As of iOS 11 / Xcode 9, Flutter engine logs are no longer recorded in the
      simulator's syslog file, which we previously read using tail -f. Instead
      they're now accessible through Apple's new macOS/iOS os_log facility,
      via /usr/bin/log, which supports a relatively flexible query language.
      
      When run in non-interactive mode, /usr/bin/log buffers its output in 4k
      chunks, which is significantly smaller than what's emitted up to the
      point where the observatory/diagnostics port information is logged. As a
      workaround we force it to run in interactive mode via the script tool.
      dd7e3133
  4. 07 Sep, 2017 2 commits
    • Chris Bracken's avatar
      Eliminate iOS log blacklist (#11981) · 8c61116c
      Chris Bracken authored
      This was introduced to suppress libMobileGestalt noise originating from
      libsystem_asl.dylib. Commit 39680ebf
      suppresses all application log messages not originating from the
      app/engine iteself on iOS 10 and above. Since the log message in
      question is only emitted on devices running iOS >= 10.3.0, this
      blacklist no longer necessary.
      8c61116c
    • Chris Bracken's avatar
      Suppress non-Flutter log messages in terminal (#11969) · 39680ebf
      Chris Bracken authored
      On iOS 10 and above, suppress engine log messages from system components
      other than Flutter. This eliminates a large amount of keyboard/plugin
      related noise during edit-refresh development.
      39680ebf
  5. 05 Sep, 2017 1 commit
  6. 01 Sep, 2017 1 commit
    • Chris Bracken's avatar
      Use idevice_id, ideviceinfo for iOS device listing (#11883) · eba6ceb8
      Chris Bracken authored
      This patch migrates iOS device listing from using Xcode instruments to
      using the libimobiledevice tools idevice_id and ideviceinfo.
      
      ideviceinfo was previously incompatible with iOS 11 physical devices;
      this has now been fixed.
      
      In 37bb5f13 flutter_tools migrated from
      libimobiledevice-based device listing on iOS to using Xcode instruments
      to work around the lack of support for iOS 11. Using instruments entails
      several downsides, including a significantly higher performance hit, and
      leaking hung DTServiceHub processes in certain cases when a simulator is
      running, necessitating workarounds in which we watched for, and cleaned
      up leaked DTServiceHub processes. This patch returns reverts the move to
      instruments now that it's no longer necessary.
      eba6ceb8
  7. 31 Aug, 2017 1 commit
  8. 23 Aug, 2017 2 commits
  9. 22 Aug, 2017 2 commits
  10. 16 Aug, 2017 1 commit
  11. 13 Jul, 2017 3 commits
    • Chris Bracken's avatar
      Clean up orphaned Instruments processes (#11189) · cf96c7db
      Chris Bracken authored
      In some cases, we've seen interactions between Instruments and the iOS
      simulator that cause hung instruments and DTServiceHub processes. If
      enough instances pile up, the host machine eventually becomes
      unresponsive.
      
      Until the underlying issue is resolved, manually kill any orphaned
      instances (where the parent process has died and PPID is 1) before
      launching another instruments run.
      cf96c7db
    • xster's avatar
      Stop sending cocoapods stats (#11120) · 92750833
      xster authored
      * Disable cocoapods stats
      
      * Add a comment for code readers
      
      * fix new test
      92750833
    • xster's avatar
      Create Podfile dynamically part 1 (#11101) · 6a49419b
      xster authored
      * start
      
      * with create
      
      * refactor cocoapod code, add tests
      
      * fix tests
      
      * throw when cocoapod missing
      
      * obj-c projects don’t use use_framework!
      6a49419b
  12. 07 Jul, 2017 1 commit
  13. 29 Jun, 2017 1 commit
  14. 28 Jun, 2017 1 commit
  15. 26 Jun, 2017 3 commits
  16. 24 Jun, 2017 1 commit
  17. 22 Jun, 2017 1 commit
  18. 19 Jun, 2017 1 commit
    • Chris Bracken's avatar
      Re-enable use of instruments for iOS device lookup (#10838) · 1d9f0095
      Chris Bracken authored
      This reverts commit b2909a24.
      
      This resubmits the following patches:
      
      1. Use Xcode instruments to list devices (#10801)
      Eliminates the dependency on idevice_id from libimobiledevice. Instead,
      uses Xcode built-in functionality.
      
      2. Make device discovery asynchronous (#10803)
      Migrates DeviceDiscovery.devices and all device-specific lookup to be
      asynchronous.
      1d9f0095
  19. 17 Jun, 2017 2 commits
    • Chris Bracken's avatar
      Revert use of Xcode instruments for device lookup (#10806) · b2909a24
      Chris Bracken authored
      * Revert "Make device discovery asynchronous (#10803)"
      This reverts commit 972be9c8.
      
      * Revert "Use Xcode instruments to list devices (#10801)"
      This reverts commit 37bb5f13.
      
      This is to resolve a failure that looks related to a bad install of Xcode 8.0
      on our build bots and should be reinstated when the infra issue is diagnosed
      and resolved.
      
      Instruments worked well when this was originally landed, and on the
      following commit, but started failing two commits after this originally
      landed. Manual invocation of instruments on the build host currently
      results in:
      
      ```
      dyld: Library not loaded: @rpath/InstrumentsAnalysisCore.framework/Versions/A/InstrumentsAnalysisCore
        Referenced from: /Applications/Xcode8.0.app/Contents/Developer/usr/bin/instruments
        Reason: image not found
      Abort trap: 6
      ```
      
      It appears the /Applications/Xcode8.0.app/Contents/Applications
      directory (which contains Instruments) is missing on the host.
      b2909a24
    • Chris Bracken's avatar
      Make device discovery asynchronous (#10803) · 972be9c8
      Chris Bracken authored
      Migrates DeviceDiscovery.devices and all device-specific lookup to be
      asynchronous.
      972be9c8
  20. 16 Jun, 2017 5 commits
  21. 15 Jun, 2017 1 commit
  22. 07 Jun, 2017 1 commit
  23. 26 May, 2017 1 commit
  24. 22 May, 2017 2 commits
  25. 12 May, 2017 1 commit