[BUG] 7 unnecessary icons being generated for iOS
lcsvcn opened this issue · comments
ℹ️ Info
Version: v0.13.1
💬 Description
7 unnecessary icons being generated for iOS.
![Screenshot 2023-10-18 at 16 22 20](https://private-user-images.githubusercontent.com/6011385/276375642-12ae9b8e-518d-4346-8d6a-0258c3826006.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDkwMjgyODUsIm5iZiI6MTcwOTAyNzk4NSwicGF0aCI6Ii82MDExMzg1LzI3NjM3NTY0Mi0xMmFlOWI4ZS01MThkLTQzNDYtOGQ2YS0wMjU4YzM4MjYwMDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMjdUMDk1OTQ1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODdkODQ3ZGY3NmY1OThlZmY1ZTNhYTMyMzlkM2I2MzY1YTkyODczMmQwOWE3ZGE0OWM1YTA5YWQxOWI1YjVhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Ob0pgmHS9XaQ1fwWjZa8Gekj-6kSv5zwE_XPDShBH_Y)
![Screenshot 2023-10-18 at 16 23 38](https://private-user-images.githubusercontent.com/6011385/276375919-eb3f926b-a77d-4000-b412-cbc669364a85.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDkwMjgyODUsIm5iZiI6MTcwOTAyNzk4NSwicGF0aCI6Ii82MDExMzg1LzI3NjM3NTkxOS1lYjNmOTI2Yi1hNzdkLTQwMDAtYjQxMi1jYmM2NjkzNjRhODUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMjdUMDk1OTQ1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmU2NTRmYjBiNDAwNjVmMTI0ZWJlYzdjZTcxZGE0OGUyYTZmMDkwYjg5MzdhNzU0MWViMWY1MjNiZTFhYjhjNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.CuvF12AzHjEYx6vKeis52TEAAYqcjN3lkgjhVA39MRU)
📜 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
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
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/Icon-App-50x50@1x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png