<p dir="auto">Currently one needs to build the Mac version of the shell to be able to run <code class="notranslate">flutter test</code> on Mac. It should work out-of-the-box.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sethladd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sethladd">@sethladd</a></p>
<h2 dir="auto">Steps to Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(dart2) $ flutter run --release
Initializing gradle...                                       0.8s
Resolving dependencies...                                    1.5s
Launching lib/main.dart on Pixel XL in release mode...
Running 'gradlew assembleRelease'...                             
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:20:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'en_short': en_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:21:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es': es.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:22:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es_short': es_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:23:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'fr': fr.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:24:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'ja': ja.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:25:18: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh_CN': zh_cn.loadLibrary,
compiler message:                  ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:26:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh': zh.loadLibrary
compiler message:            ^
Built build/app/outputs/apk/release/app-release.apk (14.5MB).
Installing build/app/outputs/apk/app.apk...                 10.9s

To repeat this help message, press &quot;h&quot;. To quit, press &quot;q&quot;.
I/FlutterActivityDelegate(17171): onResume setting current activity to this"><pre class="notranslate"><code class="notranslate">(dart2) $ flutter run --release
Initializing gradle...                                       0.8s
Resolving dependencies...                                    1.5s
Launching lib/main.dart on Pixel XL in release mode...
Running 'gradlew assembleRelease'...                             
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:20:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'en_short': en_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:21:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es': es.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:22:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es_short': es_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:23:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'fr': fr.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:24:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'ja': ja.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:25:18: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh_CN': zh_cn.loadLibrary,
compiler message:                  ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:26:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh': zh.loadLibrary
compiler message:            ^
Built build/app/outputs/apk/release/app-release.apk (14.5MB).
Installing build/app/outputs/apk/app.apk...                 10.9s

To repeat this help message, press "h". To quit, press "q".
I/FlutterActivityDelegate(17171): onResume setting current activity to this
</code></pre></div>
<p dir="auto">The intl errors are reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="306811625" data-permission-text="Title is private" data-url="https://github.com/dart-lang/sdk/issues/32604" data-hovercard-type="issue" data-hovercard-url="/dart-lang/sdk/issues/32604/hovercard" href="https://github.com/dart-lang/sdk/issues/32604">dart-lang/sdk#32604</a>, but they don't cause issues in debug mode</p>
<h2 dir="auto">Logs</h2>
<p dir="auto">Run your application with <code class="notranslate">flutter run</code> and attach all the log output.</p>
<p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(dart2) $ flutter doctor -v
[✓] Flutter (Channel dev, v0.2.2-pre.7, on Mac OS X 10.13.3 17D102, locale en-AT)
    • Flutter version 0.2.2-pre.7 at /Users/zoechi/flutter/flutter
    • Framework revision c0d1eb7513 (2 hours ago), 2018-04-03 12:52:53 +0200
    • Engine revision c903c217a1
    • Dart version 2.0.0-dev.43.0.flutter-52afcba357

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /usr/local/opt/android-sdk
    • Android NDK at /usr/local/opt/android-sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[✓] Connected devices (1 available)
    • Pixel XL • HT69V0203649 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!"><pre class="notranslate"><code class="notranslate">(dart2) $ flutter doctor -v
[✓] Flutter (Channel dev, v0.2.2-pre.7, on Mac OS X 10.13.3 17D102, locale en-AT)
    • Flutter version 0.2.2-pre.7 at /Users/zoechi/flutter/flutter
    • Framework revision c0d1eb7513 (2 hours ago), 2018-04-03 12:52:53 +0200
    • Engine revision c903c217a1
    • Dart version 2.0.0-dev.43.0.flutter-52afcba357

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /usr/local/opt/android-sdk
    • Android NDK at /usr/local/opt/android-sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[✓] Connected devices (1 available)
    • Pixel XL • HT69V0203649 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!
</code></pre></div>
<blockquote>
<p dir="auto">For more information about diagnosing and reporting Flutter bugs, please see <a href="https://flutter.io/bug-reports/" rel="nofollow">https://flutter.io/bug-reports/</a>.</p>
</blockquote>