Skip to content

Conversation

@faithoflifedev
Copy link

Here is the error that this PR resolves (shown during "flutter build ios") using Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.15.5 19F101, locale en-CA):

This application cannot tree shake icons fonts. It has non-constant instances of IconData at the following
locations:
-
file:///Users/chris/projects/flutter/.pub-cache/hosted/pub.dartlang.org/device_simulator-0.9.6/lib/src/apple_icon.dart:4:24
Target release_ios_bundle_flutter_assets failed: Exception: Avoid non-constant invocations of IconData or try to build again with --no-tree-shake-icons.
build failed.

Chris D added 2 commits June 16, 2020 00:50
… X 10.15.5 19F101, locale en-CA), with error: Target release_ios_bundle_flutter_assets failed: Exception: Avoid non-constant invocations of IconData or try to build again with --no-tree-shake-icons.
@krokyze
Copy link

krokyze commented Aug 12, 2020

@vlidholt I'm having the same issue. It would be nice if you could merge this as soon as possible.

[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.5 19F101, locale en-LV)
    • Flutter version 1.20.1 at /Users/martinsandersons/Development/Flutter
    • Framework revision 2ae34518b8 (6 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

@danydev
Copy link

danydev commented Aug 4, 2021

@vlidholt is this package abandoned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants