Problem
I tried to remove an app from Settings -> iPhone Storage, but after each installation/un-installation cycle about 100-200mb adds up to disk space (example: after 10 cycles about 2GB might be taken on a disk, even that the app is un-installed).
Filesystem info
PoC
Here is a PoC, it's the same without checkra1n and video recording.
Steps to reproduce
- Download an app from App Store
- Launch the app
- Delete the app from Settings -> iPhone Storage
- About 100-200mb is taken on a disk on example of TikTok (TikTok binary is ~130mb)
- Jump to step 1.
Non-ideal solution
Reboot helps to wipe these taken data from a disk.
Env
- iPhone 6s with/without checkra1n on 14.2 and 14.3
- iPhone SE without checkra1n on 14.2
What I checked
- Snapshots, and there is only system one
- Hanged files using lsof, and there is only Asset.car in splashboard for TikTok, but it isn't 130mb file
Question
Why it this happening and how can I delete an app without overhead of 100-200mb + reboot?