Repository navigation
Resize the 2048 px fruit-based alternate icons (about 35 MB off the app) - #1654
Conversation
The four fruit-based-26 alternate icons were the same 2048x2048 16-bit PNG, 8.75 MB each. They're loose bundle files, so App Thinning can't drop them and Xcode's copypng copies them unchanged: about 35 MB of the App Store size since 5.13.0. Resize them to the sizes their siblings use, 120/180 px on iPhone and 152/167 px on iPad. Also drop the 463 KB Adobe XMP chunk from each retro-icon PNG. The pixels are unchanged, and copypng already strips it from the build, so this only shrinks the repo.
✅ Claude PR Review —
|
Problem
The App Store lists 5.22.2 at 69.8 MB, and about 35 MB of that is four alternate-icon PNGs.
fruit-based-26@2x/@3x(iPhone) andfruit-based-ipad-26@2x/@3x(iPad) are the same 2048×2048 16-bit file, 8.75 MB each. They've been that way since they were added in 303498c, and 5.13.0 was the first release to ship them. Their siblings (music-26,pride-26,Platinum) are 120/180 px on iPhone and 152/167 px on iPad.They're loose bundle files (
CFBundleAlternateIconsinInfo.plist, also loaded withUIImage(named:)for the picker inAppIconView), so App Thinning can't drop them, and Xcode'scopypngcopies 16-bit PNGs unchanged.Changes
fruit-based-26/fruit-based-ipad-26: downscaled from the 2048 px source withsips -Zto 120/180 px (iPhone) and 152/167 px (iPad), keeping the same file names. They're 8-bit Display P3 with alpha (17–32 KB). The siblings are 16-bit, which makes no visible difference at these sizes.retro-icon/retro-icon-ipad: each PNG carried a 463 KB Adobe ImageReady XMP chunk around 6–9 KB of image. Only the text chunks are removed and the image data is byte-for-byte the same.copypng -strip-PNG-textalready drops this chunk when building, so this part only shrinks the repo.Info.plistand the project file are unchanged.Settings/Icons/assetsin the repoTesting
music-26,pride-26andPlatinumat the same sizes on light and dark backgrounds: same shape and inset, no aliasing.