Home > Software design >  flutter_launcher_icons not working (app launcher icon broken/crashed)
flutter_launcher_icons not working (app launcher icon broken/crashed)

Time:11-11

I'm struggling with changing App Launcher Icon using flutter_launcher_icons package, on my iPhone Simulator (iOS 14.4).

In my pubspec.yaml:

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_launcher_icons: ^0.9.2

flutter_icons:
  #image_path_android: "assets/icon.png"
  image_path: "assets/icon.png"
  android: false
  ios: true

On VScode terminal (in my project root directory):

> flutter pub run flutter_launcher_icons:main
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.9.1)                               
  ════════════════════════════════════════════
  
• Overwriting default iOS launcher icon with new icon

✓ Successfully generated launcher icons

> flutter run                     ✔
Multiple devices found:
Android SDK built for x86 (mobile) • emulator-5554                        • android-x86 • Android
11 (API 30) (emulator)
iPhone 12 Pro Max (mobile)         • 0A68628E-A233-40C2-8B07-504F23A5FD81 • ios         •
com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
[1]: Android SDK built for x86 (emulator-5554)
[2]: iPhone 12 Pro Max (0A68628E-A233-40C2-8B07-504F23A5FD81)
Please choose one (To quit, press "q/Q"): 2
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running pod install...                                             16.4s
Running Xcode build...                                                  
 └─Compiling, linking and signing...                        15.4s
Xcode build done.                                           267.2s
Syncing files to device iPhone 12 Pro Max...                        90ms

Flutter run key commands.
r Hot reload.            
  • Related