<p dir="auto">Hello,</p>
<p dir="auto">Moving from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="295433307" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/14551" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/14551/hovercard" href="https://github.com/flutter/flutter/issues/14551">#14551</a>.</p>
<p dir="auto">We have a Flutter app which we're trying to include Firebase Analytics in it. But whenever we include Firebase Analytics, it started crashing in distribution builds.</p>
<p dir="auto">After updating all plugins and Flutter, it's building and running but whenever I distribute app via Fabric, all builds are crashing whenever app opens.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">It's not crashing whenever I remove <code class="notranslate">firebase_analytics: 0.2.3</code> from <code class="notranslate">pubspec.yml</code> (just fyi: there is no implementation of Firebase Analytics in the code). This one line in <code class="notranslate">pubspec.yml</code> crashes in the distribution builds. Does anyone have an idea?</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Process:             Runner [16143]
Path:                /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Runner
OS Version:          iPhone OS 11.2.5 (15D60)
Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, Symbol not found: _OBJC_CLASS_$_FIRAnalytics | Referenced from: /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Frameworks/firebase_analytics.framework/firebase_analytics | Expected in: flat namespace | in /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Frameworks/firebase_analytics.framework/firebase_analytics
Triggered by Thread:  0
Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Thread 0 Crashed:
0   dyld                          	0x0000000104dcaf48 0x104d9c000 + 192328
1   dyld                          	0x0000000104dca71c 0x104d9c000 + 190236
2   dyld                          	0x0000000104dca748 0x104d9c000 + 190280
3   dyld                          	0x0000000104da0498 0x104d9c000 + 17560
4   dyld                          	0x0000000104da3714 0x104d9c000 + 30484
5   dyld                          	0x0000000104d9d21c 0x104d9c000 + 4636
Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000004   x2: 0x000000016b4d6520   x3: 0x00000000000000d4
    x4: 0x000000016b4d6120   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x6f77656d6172662e  x11: 0x62657269662f6b72
   x12: 0x656d6172662e7363  x13: 0x7269662f6b726f77  x14: 0x6e615f6573616265  x15: 0x0073636974796c61
   x16: 0x0000000000000209  x17: 0x0000000000000000  x18: 0xfffffff0172dd260  x19: 0x0000000000000000
   x20: 0x000000016b4d6120  x21: 0x00000000000000d4  x22: 0x000000016b4d6520  x23: 0x0000000000000004
   x24: 0x0000000000000006  x25: 0x0000000104928000  x26: 0x0000000104dde000  x27: 0x0000000104dddf88
   x28: 0x000000016b4d7b20   fp: 0x000000016b4d60f0   lr: 0x0000000104dca71c
    sp: 0x000000016b4d60b0   pc: 0x0000000104dcaf48 cpsr: 0x00000000"><pre class="notranslate"><code class="notranslate">Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Process:             Runner [16143]
Path:                /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Runner
OS Version:          iPhone OS 11.2.5 (15D60)
Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, Symbol not found: _OBJC_CLASS_$_FIRAnalytics | Referenced from: /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Frameworks/firebase_analytics.framework/firebase_analytics | Expected in: flat namespace | in /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Frameworks/firebase_analytics.framework/firebase_analytics
Triggered by Thread:  0
Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Thread 0 Crashed:
0   dyld                          	0x0000000104dcaf48 0x104d9c000 + 192328
1   dyld                          	0x0000000104dca71c 0x104d9c000 + 190236
2   dyld                          	0x0000000104dca748 0x104d9c000 + 190280
3   dyld                          	0x0000000104da0498 0x104d9c000 + 17560
4   dyld                          	0x0000000104da3714 0x104d9c000 + 30484
5   dyld                          	0x0000000104d9d21c 0x104d9c000 + 4636
Mar  9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] &lt;Notice&gt;: Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000004   x2: 0x000000016b4d6520   x3: 0x00000000000000d4
    x4: 0x000000016b4d6120   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x6f77656d6172662e  x11: 0x62657269662f6b72
   x12: 0x656d6172662e7363  x13: 0x7269662f6b726f77  x14: 0x6e615f6573616265  x15: 0x0073636974796c61
   x16: 0x0000000000000209  x17: 0x0000000000000000  x18: 0xfffffff0172dd260  x19: 0x0000000000000000
   x20: 0x000000016b4d6120  x21: 0x00000000000000d4  x22: 0x000000016b4d6520  x23: 0x0000000000000004
   x24: 0x0000000000000006  x25: 0x0000000104928000  x26: 0x0000000104dde000  x27: 0x0000000104dddf88
   x28: 0x000000016b4d7b20   fp: 0x000000016b4d60f0   lr: 0x0000000104dca71c
    sp: 0x000000016b4d60b0   pc: 0x0000000104dcaf48 cpsr: 0x00000000
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">I'm using <code class="notranslate">firebase_analytics: 0.2.3</code> in <code class="notranslate">pubspec.yml</code> and here is the <code class="notranslate">flutter doctor</code> results:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.2.0, on Mac OS X 10.13.3 17D102, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
[✓] Connected devices (1 available)"><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.2.0, on Mac OS X 10.13.3 17D102, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
[✓] Connected devices (1 available)
</code></pre></div>
<p dir="auto">Using the example card in the framework yields the above error.</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new Card( // 1 required argument(s) expected, but 0 found.
   child: new Column( 
     mainAxisSize: MainAxisSize.min,
     children: &lt;Widget&gt;[
       const ListTile(
         leading: const Icon(Icons.album),
         title: const Text('The Enchanted Nightingale'),
         subtitle: const Text('Music by Julie Gable. Lyrics by Sidney Stein.'),
       ),
       new ButtonTheme.bar( // make buttons use the appropriate styles for cards
         child: new ButtonBar(
           children: &lt;Widget&gt;[
             new FlatButton(
               child: const Text('BUY TICKETS'),
               onPressed: () { /* ... */ },
             ),
             new FlatButton(
               child: const Text('LISTEN'),
               onPressed: () { /* ... */ },
             ),
           ],
         ),
       ),
     ],
   ),
 )"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-c1">Card</span>( <span class="pl-c">// 1 required argument(s) expected, but 0 found.</span>
   child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Column</span>( 
     mainAxisSize<span class="pl-k">:</span> <span class="pl-c1">MainAxisSize</span>.min,
     children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[
       <span class="pl-k">const</span> <span class="pl-c1">ListTile</span>(
         leading<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.album),
         title<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'The Enchanted Nightingale'</span>),
         subtitle<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Music by Julie Gable. Lyrics by Sidney Stein.'</span>),
       ),
       <span class="pl-k">new</span> <span class="pl-c1">ButtonTheme</span>.<span class="pl-en">bar</span>( <span class="pl-c">// make buttons use the appropriate styles for cards</span>
         child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ButtonBar</span>(
           children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[
             <span class="pl-k">new</span> <span class="pl-c1">FlatButton</span>(
               child<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'BUY TICKETS'</span>),
               onPressed<span class="pl-k">:</span> () { <span class="pl-c">/* ... */</span> },
             ),
             <span class="pl-k">new</span> <span class="pl-c1">FlatButton</span>(
               child<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'LISTEN'</span>),
               onPressed<span class="pl-k">:</span> () { <span class="pl-c">/* ... */</span> },
             ),
           ],
         ),
       ),
     ],
   ),
 )</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 10.0.17134.228], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Community Edition (version 2018.1)
[√] VS Code, 64-bit edition (version 1.26.1)
[√] Connected devices (1 available)"><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 10.0.17134.228], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Community Edition (version 2018.1)
[√] VS Code, 64-bit edition (version 1.26.1)
[√] Connected devices (1 available)
</code></pre></div>