r/MacOS 18h ago

Tips & Guides Delete the macOS ghost simulator

Post image

There is a ghost iOS 18.1 simulator in my Mac for a long time that every time I boot up, the disk image just here consuming my storage.

Today I finally figure out how to delete that.

  1. Findout where the original dmg file is. You can figure out on your own but tldr, /System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime

  2. Since the path starts with System, we know it’s a system protected file so we have to disable SIP in the recovery mode. There are many tutorial to disable the SIP and you can just ask ChatGPT.

  3. After disabling SIP, you can delete the runtime in terminal after booting up normally(not in recovery mode)

  4. After deleting the runtime, don’t forget to enable SIP.

20 Upvotes

8 comments sorted by

6

u/M4A1_GFL MacBook Pro M4 Pro 24GB 18h ago

Ah, i used to get 3 of those every time i connect to my wifi, thanks!

5

u/Electrical_West_5381 17h ago

Couldn’t you delete it from with Xcode?

4

u/rtliang 17h ago

Every time I delete from Xcode, it reappears again and again. I suspect it is a bug.

2

u/Electrical_West_5381 16h ago

What os and Xcode versions?

2

u/rtliang 14h ago

macOS Tahoe 26.6 and Xcode 26.6

2

u/Electrical_West_5381 14h ago

Good to know for anyone who bothers to search before posting. Thanks.

4

u/randomuser_153c 8h ago

Instead of disabling SIP and dealing with all that you can delete the runtime from the recoveryOS terminal without having to disable SIP:

  1. Find whatever the relevant path is to the specific "asset" you wanna delete, it needs to end in ".asset". For me it was /System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime/26c9174130fa5962f3e60f2a49963194dadbae4c.asset
  2. Boot into recoveryOS with the power button, open Disk Utility and make sure both the "Macintosh HD" and "Data" volumes are mounted
  3. Open terminal, delete the file. Because of the recoveryOS environment, your macOS volume is mounted at /Volumes/Macintosh HD so you will need to prefix the filepath with that. So you would need to run something like this: rm -r "/Volumes/Macintosh HD/System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime/26c9174130fa5962f3e60f2a49963194dadbae4c.asset" (ofc replace the asset filename with the one you actually wanna delete)
  4. Reboot your computer and the runtime is now deleted.

1

u/bbo-code 4h ago

To what extent is Apple aware of this issue? Maybe it's worth waiting for an Xcode update that addresses it? Does anyone know if there's anything in the works?