Hello,
I'm trying to figure out the behavior of AssetPackManager.shared.remove(assetPackWithID: ).
I'm working with MapKit tiles and currently working on trying projecting them correctly which involves serving the AssetPack locally, downloading, checking alignment, and then deleting and changing.
My question is that remove(assetPackWithID: ) completes successfully and the asset pack is removed. This is confirmed by trying to remove the AssetPack again which throws an error.
However, the asset is still appearing on MapKit after the removal. This is a bit odd as this persists not only with force killing, but also restarting the device.
Please advise on how to properly remove an AssetPack.
Thank you
- iPhone 15 Pro Max (iOS 26.0.1)
- iPhone 17 Pro Max (iOS 26.0.1)
@StonedStudio @michaeld We’ve identified a bug in the OS that could cause this issue. Until the fix is available, you should be aware that the asset pack is still (mostly) removed. The system should automatically clean up the files that are left behind within a day or so. With the fix, the system will clean up those files much more quickly. Either way, you can still write your code as if the asset pack were indeed fully removed. If you encounter any further issues, then please file a feedback report and let us know the feedback ID. Thanks!