<p dir="auto">I just found out that Skia has a brand new native player for Lottie files: <a href="https://skia.org/user/modules/skottie" rel="nofollow">https://skia.org/user/modules/skottie</a></p>
<p dir="auto">It would be amazing if that was surfaced in the Flutter framework, allowing developers to easily use Lottie animations with security and performance, without needing unofficial third party plugins.</p>
<hr>
<p dir="auto">(Edit by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dnfield/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dnfield">@dnfield</a>): If you're looking for Lottie support, as of 2019-09-05, your best bet is to work with the Flare plugin: <a href="https://twitter.com/2Dimensions/status/1169294765625618432" rel="nofollow">https://twitter.com/2Dimensions/status/1169294765625618432</a></p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Create a sample flutter app on intellij and run it on <code class="notranslate">iphone 6</code> simulator. The flutter run is failing with the following error (<code class="notranslate">BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s)</code>)</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter run
Launching loader on iPhone 6...
** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

Build settings from command line:
    ARCHS = x86_64
    BUILD_DIR = /Users/sgopal1/code/flutter-app/build/ios
    ONLY_ACTIVE_ARCH = YES
    SDKROOT = iphonesimulator9.2

=== CLEAN TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Release ===

Check dependencies
[BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).

Clean.Remove clean /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Pods.build/Release-iphoneos/Pods-Runner.build
    builtin-rm -rf /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Pods.build/Release-iphoneos/Pods-Runner.build

Clean.Remove clean /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/libPods-Runner.a
    builtin-rm -rf /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/libPods-Runner.a

=== CLEAN TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===

Check dependencies
[BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).

Create product structure
/bin/mkdir -p /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/Runner.app

Clean.Remove clean /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Runner.build/Release-iphoneos/Runner.build
    builtin-rm -rf /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Runner.build/Release-iphoneos/Runner.build

Clean.Remove clean /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/Runner.app
    builtin-rm -rf /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/Runner.app

** CLEAN SUCCEEDED **

=== BUILD TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Release ===

Check dependencies
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).


Could not build the application for the simulator.
Error launching DevFS loader on iPhone 6."><pre class="notranslate"><code class="notranslate">$ flutter run
Launching loader on iPhone 6...
** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

Build settings from command line:
    ARCHS = x86_64
    BUILD_DIR = /Users/sgopal1/code/flutter-app/build/ios
    ONLY_ACTIVE_ARCH = YES
    SDKROOT = iphonesimulator9.2

=== CLEAN TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Release ===

Check dependencies
[BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).

Clean.Remove clean /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Pods.build/Release-iphoneos/Pods-Runner.build
    builtin-rm -rf /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Pods.build/Release-iphoneos/Pods-Runner.build

Clean.Remove clean /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/libPods-Runner.a
    builtin-rm -rf /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/libPods-Runner.a

=== CLEAN TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===

Check dependencies
[BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).

Create product structure
/bin/mkdir -p /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/Runner.app

Clean.Remove clean /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Runner.build/Release-iphoneos/Runner.build
    builtin-rm -rf /Users/sgopal1/Library/Developer/Xcode/DerivedData/Runner-fclhjbiqgfqnhrdjypxltcxbgqjs/Build/Intermediates/Runner.build/Release-iphoneos/Runner.build

Clean.Remove clean /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/Runner.app
    builtin-rm -rf /Users/sgopal1/code/flutter-app/build/ios/Release-iphoneos/Runner.app

** CLEAN SUCCEEDED **

=== BUILD TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Release ===

Check dependencies
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).


Could not build the application for the simulator.
Error launching DevFS loader on iPhone 6.
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/sgopal1/install/flutter
    • Framework revision a77f725504 (26 minutes ago),
    • Engine revision 9eaedb0677
    • Tools Dart version 1.21.0-dev.0.0

[✓] Android toolchain - develop for Android devices (Android SDK 24.0.0)
    • Android SDK at /Users/sgopal1/install/android
    • Platform android-N, build-tools 24.0.0
    • ANDROID_HOME = /Users/sgopal1/install/android
    • Java(TM) SE Runtime Environment (build 1.8.0_77-b03)

[✓] iOS toolchain - develop for iOS devices (Xcode 7.2.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 7.2.1, Build version 7C1002

[-] Atom - a lightweight development environment for Flutter
    • flutter plugin not installed; this adds Flutter specific functionality to Atom.
      Install the plugin from Atom or run 'apm install flutter'.
    • dartlang plugin not installed; this adds Dart specific functionality to Atom.
      Install the plugin from Atom or run 'apm install dartlang'.

[-] IntelliJ IDEA Ultimate Edition (version 2016.2.5)
    • Dart plugin not installed; this adds Dart specific functionality.
    • Flutter plugin not installed; this adds Flutter specific functionality.
    • For information about managing plugins, see
      https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html

[✓] Connected devices
    • iPhone 6 • 50CEE37D-37EB-45C3-AFF8-3C367DA9E0E2 • ios • iOS 9.2 (simulator)"><pre class="notranslate"><code class="notranslate">$ flutter doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/sgopal1/install/flutter
    • Framework revision a77f725504 (26 minutes ago),
    • Engine revision 9eaedb0677
    • Tools Dart version 1.21.0-dev.0.0

[✓] Android toolchain - develop for Android devices (Android SDK 24.0.0)
    • Android SDK at /Users/sgopal1/install/android
    • Platform android-N, build-tools 24.0.0
    • ANDROID_HOME = /Users/sgopal1/install/android
    • Java(TM) SE Runtime Environment (build 1.8.0_77-b03)

[✓] iOS toolchain - develop for iOS devices (Xcode 7.2.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 7.2.1, Build version 7C1002

[-] Atom - a lightweight development environment for Flutter
    • flutter plugin not installed; this adds Flutter specific functionality to Atom.
      Install the plugin from Atom or run 'apm install flutter'.
    • dartlang plugin not installed; this adds Dart specific functionality to Atom.
      Install the plugin from Atom or run 'apm install dartlang'.

[-] IntelliJ IDEA Ultimate Edition (version 2016.2.5)
    • Dart plugin not installed; this adds Dart specific functionality.
    • Flutter plugin not installed; this adds Flutter specific functionality.
    • For information about managing plugins, see
      https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html

[✓] Connected devices
    • iPhone 6 • 50CEE37D-37EB-45C3-AFF8-3C367DA9E0E2 • ios • iOS 9.2 (simulator)
</code></pre></div>
<p dir="auto">Please ignore the intellij error as i have multiple versions installed and right now using the following build</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="IntelliJ IDEA 2016.3 EAP
Build #IU-163.6957.12, built on October 25, 2016
JRE: 1.8.0_112-release-b408 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o"><pre class="notranslate"><code class="notranslate">IntelliJ IDEA 2016.3 EAP
Build #IU-163.6957.12, built on October 25, 2016
JRE: 1.8.0_112-release-b408 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
</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>