Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 7 unnecessary icons being generated for iOS #528

Open
lcsvcn opened this issue Oct 18, 2023 · 4 comments · May be fixed by #567
Open

[BUG] 7 unnecessary icons being generated for iOS #528

lcsvcn opened this issue Oct 18, 2023 · 4 comments · May be fixed by #567

Comments

@lcsvcn
Copy link

lcsvcn commented Oct 18, 2023

ℹ️ Info

Version: v0.13.1

💬 Description

7 unnecessary icons being generated for iOS.

Screenshot 2023-10-18 at 16 22 20 Screenshot 2023-10-18 at 16 23 38

📜 Pubspec.yaml

flutter_icons:
  ios: true
  android: true
  image_path: 'assets/launcher/icon.png'
  min_sdk_android: 19
  adaptive_icon_background: '#fff'
  adaptive_icon_foreground: 'assets/launcher/foreground.png'
  remove_alpha_ios: true
  web:
    generate: true
    image_path: 'assets/launcher/foreground.png'
    background_color: '#fff'
    theme_color: '#fff'
  windows:
    generate: true
    image_path: 'assets/launcher/icon.png'
  macos:
    generate: true
    image_path: 'assets/launcher/icon.png'

We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

@lcsvcn lcsvcn changed the title [BUG] [BUG] 7 unnecessary icons being generated for iOS Oct 18, 2023
@MarkOSullivan94
Copy link
Collaborator

Hi @lcsvcn thanks for reporting this

It's difficult to see all the entire file names of the icons generated, this would let me be able to compare the sizes generated versus the list of app icons required according to the Apple developer documentation.

Would be helpful if you could identify the sizes which were generated but not included in the documentation

@danielvuljanic
Copy link

Hi @MarkOSullivan94
after deleting the following icons in my project folder, I no longer get the error message in Xcode v17 (Deployment target iOS v12.0). Maybe this will help.

ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]

@Albert221
Copy link

These are the icons needed in All Sized in Xcode 15.3. This package currently generates some sizes that are not used and doesn't generate a few sizes that are needed.

image

@lacostej lacostej linked a pull request Jul 17, 2024 that will close this issue
@lacostej
Copy link

Anyone interested in trying the fix?

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 a pull request may close this issue.

5 participants