I am trying to slim my app as much as possible, as it really has no assets and I'm trying to be as apple native as possible, and it seems like 2.8MB out of my 4.5MB (on disk) app is because of the assets.car containing pre-rendered app icon images, which seems wasteful to bundle into the app
I ran assetutil -I Assets.car > assets.json and the output shows:
"RenditionName" : "AppIcon1024x1024_UIAppearanceAny_934C06E8-EFEE-45F8-8FF6-8AA1C5A331E2-5653-00000994CD30DD2A.png",
"SizeOnDisk" : 1085726
...
"RenditionName" : "AppIcon1024x1024_UIAppearanceDark_61E3B30A-4E8A-4427-89EE-9BE9233265D9-5653-00000994CD6F1916.png",
"SizeOnDisk" : 1230822
...
"RenditionName" : "AppIcon1024x1024_ISAppearanceTintable_395EBE2C-F852-46DB-B18D-07F4FD33A361-5653-00000994CDA26BA3.png",
"SizeOnDisk" : 494329
I tried just deleting the entire Assets part of the Xcode project and got the same results
This seems like something that Apple's OSs should be able to just generate once the app is installed if needed instead of prepackaging in every .app and wasting space if not used.
Am I crazy for wanting this? I got my AppIcon.icon down from 15KB to 5KB but having 2.8MB wasted for something that doesn't seem important at all bothers me
3
0
49